Part Number Hot Search : 
54S00FM D13005K D13005K 1N5713 IRF370 CY62148 AF310 GS8550XU
Product Description
Full Text Search
 

To Download CAP1014 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  smsc CAP1014 datasheet revision 1.65 (08-11-09) datasheet product features CAP1014 multiple channel capacitive touch sensor and led driver general description the CAP1014 is a multiple channel capacitive touch sensor and led driver. the CAP1014 contains up to fourteen (14) individual capacitive touch sensor inputs with programmable sensitivity for use in touch button and slider switch applications. each sensor also contains automatic recalibration with programmable time delays. the CAP1014 also contains eleven (11) low side led drivers that offer full-on / off, variable rate blinking, dimness controls, and breathing. capacitive buttons can be linked to led outputs. applications ? consumer electronics ? desktop and notebook pc?s ? lcd monitors features ? fourteen (14) capacitive touch sensor inputs ? programmable sensitivity ? high snr allows for easy tuning ? automatic recalibration ? slider acceleration detection ? slider positional detection ? low power operation ? 150ua quiescent current in deep sleep ? 250ua quiescent current in sleep mode while monitoring 2 buttons. ? alert to signal touch to host processor ? user controlled reset ? low external component count ? smbus 2.0 compliant interface to change operating parameters to work in a wide variety of systems ? block read and write function for quick tasking ? eleven (11) led driver outputs ? programmable blink, breathe, and dimness controls ? 8 configurable as gpios ? buttons can be linked to led responses ? development boards and software available ? available in 32-pin 5mm x 5mm qfn lead-free rohs compliant package block diagram smbus slave protocol smclk smdata vdd gnd alert capacitive sensing algorithm led blink, breathe, and dimness control led1 led2 led3 led4 led5 led6 led7 led8 led9 led10 led11 cs1 cs2 cs3 cs4 cs5 cs6 cs7 cs8 cs9 cs10 cs11 cs12 cs13 cs14 reset
reel size is 4,000 pieces ordering number package features CAP1014-1-ezk-tr 32-pin qfn 5mm x 5mm (lead free rohs compliant) 14 capacitive touch sensors, 11 led drivers. lid closure. smbus address 0101_000b CAP1014-2-ezk-tr 32-pin qfn 5mm x 5mm (lead free rohs compliant) 14 capacitive touch sensors, 11 led drivers. lid closure. smbus address 0101_100b multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 2 smsc CAP1014 datasheet 80 arkay drive, hauppauge, ny 11788 (631) 435-6000, fax (631) 273-3123 copyright ? 2009 smsc or its subsidiaries. all rights reserved. circuit diagrams and other information relating to smsc product s are included as a means of illustrating typical applications. consequently, complete information sufficient for construction pur poses is not necessarily given. although the information has been checked and is bel ieved to be accurate, no responsibility is assumed for inaccuracies. smsc reserves t he right to make changes to specifications and product descriptio ns at any time without notice. contact your local smsc sales office to obtain the la test specifications before placing your product order. the provisi on of this information does not convey to the purchaser of the described semiconductor device s any licenses under any patent rights or other intellect ual property rights of smsc or others. all sales are expressly conditional on your agr eement to the terms and conditions of the most recently dated ve rsion of smsc's standard terms of sale agreement dated before the date of your order (the "terms of sale agreement"). the product may contain d esign defects or errors known as anomalies which may cause the product's functions to deviate from published specifications. anomaly sheets are available upon request. smsc products are not designed, intended, authorized or warranted for use in any life support or other application whe re product failure could cause or contribute to personal injury or severe property damage. any and all such uses without prior written approval of an officer of smsc and further testing and/or modification will be fully at the risk of the customer. copies of this document or other smsc litera ture, as well as the terms of sale agreement, may be obtained by visiting smsc?s website at http://www.smsc.com. smsc is a registered trademark of standar d microsystems corporation (?smsc?). product names and company names are the trademarks of their respective holders. smsc disclaims and excludes any and all warranties, includi ng without limitation any and all implied warranties of merchantability, fitness for a part icular purpose, title, and against infringement and the like, and any and all warranties arising from any course of dealing or us age of trade. in no event shall smsc be liable for any direct, incidental, indirect, special, punitive, or consequential damages; or for lost data, profits, savings or revenues of any kind; regardless of the form of action, whether based on contract; tort; negligence of smsc or others; strict liability; breach of warranty; or othe rwise; whether or not any re medy of buyer is held to have failed of its essential purpose, and whether or no t smsc has been advised of the possibility of such damages. order numbers:
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 3 revision 1.65 (08-11-09) datasheet table of contents chapter 1 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 chapter 2 electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 chapter 3 communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 system management bus protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 smbus start bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.2 smbus address and rd / wr bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.3 smbus data bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.4 smbus ack and nack bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.5 smbus stop bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.6 smbus time-out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.7 smbus and i 2 c compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 smbus protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2.1 smbus write byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.2 block write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.3 smbus read byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.4 block read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.5 smbus send byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2.6 smbus receive byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 chapter 4 product description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1 power states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 reset pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3 led drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3.1 linking leds to capacitive touch sensors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4 capacitive touch sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4.1 multiple button presses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4.2 lid closure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4.3 grouped sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4.4 sensing cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4.5 recalibrating sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.5 grouped sensor behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.5.1 tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.5.2 press and hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.5.3 slider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.5.4 relative position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.5.5 slider velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.6 alert pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.6.1 button interrupt behavior. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.6.2 grouped sensor interrupt behavior. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.6.3 wake from deep sleep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 chapter 5 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.1 main status control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.2 button status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.2.1 button status 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.2.2 button status 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.3 build revision register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.4 slider position / volume tric data register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 5.4.1 absolute position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 4 smsc CAP1014 datasheet 5.4.2 volumetric data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5.5 vendor id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5.6 volumetric step register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5.7 noise flag status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.8 lid closure status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.9 gpio status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.10 group status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.11 sensor delta count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.12 queue control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5.13 data sensitivity register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5.14 configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5.15 sensor enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.16 button configuration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.17 group configuration register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.18 group configuration register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.19 calibration enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.20 calibration activate registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.21 interrupt enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.21.1 interrupt enable 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.21.2 interrupt enable 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.22 sleep channel control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 5.23 multiple touch configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 5.24 lid closure configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.25 lid closure queue control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.26 lid closure pattern registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.27 recalibration configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.28 sensor threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.29 button noise threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.29.1 button noise threshold 1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.29.2 button noise threshold 2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.30 lid closure threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.30.1 lid closure threshold 1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5.30.2 lid closure threshold 2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5.30.3 lid closure threshold 3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5.30.4 lid closure threshold 4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5.31 slider velocity configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5.32 sampling configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 5.33 sensor base count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 5.34 led / gpio direction registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 5.35 led / gpio output type registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 5.36 gpio input register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.37 led output control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.37.1 led output control 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.37.2 led output control 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.38 led polarity registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.38.1 led polarity 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5.38.2 led polarity 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 5.39 sensor led linking registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 5.40 led behavior registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.40.1 led behavior 1 - 81h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.40.2 led behavior 2 - 82h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.40.3 led behavior 3 - 83h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.41 led pulse 1 period register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.42 led pulse 2 period register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.43 led breathe period register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 5 revision 1.65 (08-11-09) datasheet 5.44 led pulse configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 5.45 led pulse and breathe duty cycle registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 5.46 led direct ramp rates register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5.47 led off delay register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.48 product id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.49 revision register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 chapter 6 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.1 package drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.2 package marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 chapter 7 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 6 smsc CAP1014 datasheet list of figures figure 1.1 CAP1014 pin diagram (32-pin qfn). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 3.1 smbus timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 4.1 system diagram for CAP1014 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 4.2 button interrupt behavior - repeat rate enabled (d efault) . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4.3 button interrupt behavior - no repeat rate enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4.4 tap interrupt behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 4.5 press and hold interrupt behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 4.6 slide interrupt behavior - no acce leration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 4.7 slide interrupt behavior - accelera tion example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 5.1 pulse 1 behavior with non-inverted polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 5.2 pulse 1 behavior with inverted po larity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 5.3 pulse 2 behavior with non-inverted polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 5.4 pulse 2 behavior with inverted po larity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 5.5 direct mode behavior for non-inve rted polarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 5.6 direct mode behavior for inverted polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 6.1 package diagram - 32-pin qfn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 figure 6.1 package dimensions - 32-pin qfn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 figure 6.2 package pcb land pattern and stencil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 0 figure 6.3 package detail a - stencil opening and perimeter l ands. . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 6.4 package detail b - thermal vias and stencil openin g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 6.5 package land pattern dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 6.1 package markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 7 revision 1.65 (08-11-09) datasheet list of tables table 1.1 pin description for CAP1014 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 1.2 pin types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 2.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 2.2 electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 3.1 protocol format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3.2 write byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 3.3 block write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 3.4 read byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 3.5 block read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 3.6 send byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 3.7 receive byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 4.1 power modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 5.1 register set in hexadecimal order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 5.2 main status control register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 5.3 button status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 5.4 firmware revision register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 5.5 build history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 5.6 slider position / volumetric data register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 5.7 example slider absolute position de code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 7 table 5.8 vendor id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 5.9 volumetric step register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 5.10 noise flag status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 5.11 lid closure status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 5.12 gpio status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 5.13 gpio status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 5.14 sensor delta count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 5.15 queue control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.16 queue_b bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.17 data scaling register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.18 d_dsp bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 5.19 c_dsp bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 5.20 configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 5.21 sensor enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 5.22 button configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 5.23 max_dur_b and max_dur_g bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 5.24 rpt_rate_b / sl / ph and m_press bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 5.25 group configuration register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 5.26 group configuration register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 5.27 calibration enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 5.28 calibration activate registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 5.29 interrupt enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 5.30 sleep channel control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 5.31 multiple touch configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 5.32 b_mult_t bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 5.33 g_mult_t bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 5.34 lid closure configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 5.35 lid closure queue control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 5.36 lid closure pattern registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 5.37 recalibration configuration registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 5.38 acal_rt[1:0] bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 5.39 cal_cfg bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 5.40 sensor threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 5.41 button noise threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 8 smsc CAP1014 datasheet table 5.42 csx_bn_th bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 5.43 lid closure threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 5.44 csx_ld_th bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 5.45 slider velocity configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 5.46 max_int bit decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 5.47 slide_time bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 5.48 rpt_scale bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 5.49 sampling configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 5.50 sensor base count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 5.51 led / gpio direction registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 5.52 led / gpio output type registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 5.53 gpio input register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 5.54 led output control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 5.55 led polarity registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 5.56 led polarity behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 5.57 sensor led linking registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 5.58 led behavior registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 5.59 ledx_ctl bit decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 5.60 led behavior registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 5.61 led pulse / breathe period example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 5.62 led behavior registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 5.63 led behavior registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 5.64 led configuration registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 5.65 pulse_cnt decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 5.66 led period and duty cycle registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 5.67 led duty cycle decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 5.68 led direct ramp rates register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 5.69 rise / fall rate cycle decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 5.70 led off delay register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 5.71 off delay settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 5.72 product id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 5.73 revision register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 7.1 customer revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 9 revision 1.65 (08-11-09) datasheet chapter 1 pin description figure 1.1 CAP1014 pin diagram (32-pin qfn) table 1.1 pin description for CAP1014 pin number pin name pin function pin type 1 cs8 capacitive touch sensor 8 aio 2 cs9 capacitive touch sensor 9 aio 3 cs10 capacitive touch sensor 10 aio 4 cs11 capacitive touch sensor 11 aio 5 cs12 capacitive touch sensor 12 aio 6 cs13 capacitive touch sensor 13 aio 7 cs14 capacitive touch sensor 14 aio 1 2 3 4 5 6 7 24 23 22 21 20 19 18 32 31 30 29 28 27 26 9 10 11 12 13 14 15 cs8 led1 / gpio1 cs9 cs10 cs11 led2 / gpio2 led3 / gpio3 cs12 cs13 cs14 led4 / gpio4 led5 / gpio5 led6 / gpio6 cs6 cs5 cs4 cs3 cs2 led7 / gpio7 led10 led9 led8 / gpio8 smclk alert smdata cs7 vdd led11 8 16 17 25 gnd reset n/c n/c cs1
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 10 smsc CAP1014 datasheet 8 vdd positive power supply power 9 led1 / gpio1 led1 - open drain led driver (default) od (5v) gpi1 - gpio 1 input di (5v) gpo1 - gpio 1 push-pull output do 10 led2 / gpio 2 led2 - open drai n led driver (default) od (5v) gpi2 - gpio 2 input di (5v) gpo2 - gpio 2 push-pull output do 11 led3 / gpio3 led3 - open drain led driver (default) od (5v) gpi3 - gpio 3 input di (5v) gpo3 - gpio 3 push-pull output do 12 led4 / gpio4 led4 - open drain led driver (default) od (5v) gpi4 - gpio 4 input di (5v) gpo4 - gpio 4 push-pull output do 13 led5 / gpio5 led5 - open drain led driver (default) od (5v) gpi5 - gpio 5 input di (5v) gpo5 - gpio 5 push-pull output do 14 led6 / gpio6 led6 - open drain led driver (default) od (5v) gpi6 - gpio 6 input di (5v) gpo6 - gpio 6 push-pull output do 15 led7 / gpio7 led7 - open drain led driver (default) od (5v) gpi7 - gpio 7 input di (5v) gpo7 - gpio 7 push-pull output do 16 led8 / gpio8 led8 - open drain led driver (default) od (5v) gpi8 - gpio 8 input di (5v) gpo8 - gpio 8 push-pull output do 17 led9 led9 - open drain led driver od (5v) 18 led10 led10 - open drain led driver od (5v) 19 led11 led11 - open drain led driver od (5v) 20 alert active high interrupt / wake up input dio 21 smdata bi-directional smbus data - requires pull-up resistor diod (5v) 22 smclk smbus clock input - requires pull-up resistor di (5v) table 1.1 pin description for CAP1014 (continued) pin number pin name pin function pin type
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 11 revision 1.65 (08-11-09) datasheet the pin types are described in detail below. all pins labelled with (5v) are 5v tolerant. note: for all 5v tolerant pins that require a pull-up resistor, the voltage difference between vdd and the pull-up voltage must never exceed 3.6v. 23 reset soft reset for system - resets all registers to default values di (5v) 24 n/c not connected - connect to gnd n/a 25 n/c not connected - connect to gnd n/a 26 cs1 capacitive touch sensor 1 aio 27 cs2 capacitive touch sensor 2 aio 28 cs3 capacitive touch sensor 3 aio 29 cs4 capacitive touch sensor 4 aio 30 cs5 capacitive touch sensor 5 aio 31 cs6 capacitive touch sensor 6 aio 32 cs7 capacitive touch sensor 7 aio bottom plate gnd power ground power table 1.2 pin types pin type description power this pin is used to supply power or ground to the device. di digital input - this pin is used as a digital input. this pin is 5v tolerant. dio digital input output - this pin is used as a digital input / output. aio analog input / output - this pin is used as an i/o for analog signals. diod digital input / open drain output - this pin is used as an digital i/o. when it is used as an output, it is open drain and requires a pull-up resistor. this pin is 5v tolerant. od open drain digital output - this pin is used as a digital output. it is open drain and requires a pull-up resistor. this pin is 5v tolerant. do push-pull digital output - this pin is used as a digital output and can sink and source current table 1.1 pin description for CAP1014 (continued) pin number pin name pin function pin type
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 12 smsc CAP1014 datasheet chapter 2 electrical specifications note: stresses above those listed could cause permane nt damage to the device. this is a stress rating only and functional operation of the devic e at any other condition above those indicated in the operation sections of this specification is not implied. note 2.1 for the 5v tolerant pins that have a pull-up resistor, the pull-up voltage must not exceed 3.6v when the device is unpowered. note 2.2 the package power dissipation specification assumes a thermal via design with the thermal landing be soldered to the pcb groun d plane with 0.3mm (12mil) diameter vias in a 4x4 matrix at 0. 9mm (35.4mil) pitch. note 2.3 junction to ambient ( ja ) is dependent on the design of t he thermal vias. without thermal vias and a thermal landing, the ja is approximately 60c/w including localized pcb temperature increase. table 2.1 absolute maximum ratings voltage on vdd pin -0.3 to 4 v voltage on 5v tolerant pins (v 5vt_pin ) -0.3 to 5.5 v voltage on 5v tolerant pins (|v 5vt_pin - v dd |) (see note 2.1 )0 to 3.6 v voltage on any other pin to gnd -0.3 to vdd + 0.3 v package power dissipation up to t a = 85c (see note 2.2 )1 w junction to ambient ( ja ) (see note 2.3 )48 c/w operating ambient temperature range -40 to 125 c storage temperature range -55 to 150 c esd rating, all pins, hbm 8000 v table 2.2 electrical specifications v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions dc power supply voltage v dd 3.0 3.3 3.6 v supply current i sleep 220 300 ua sleep mode active, 2 sensors monitored i dsleep 150 200 ua deep sleep or deact modes active i dd 0.42 1 ma average current capacitive sensing active, leds enabled
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 13 revision 1.65 (08-11-09) datasheet capacitive touch sensor base capacitance c base 5 15 50 pf pad untouched detectable capacitive shift c touch 0.1 0.4 2 pf pad touched sample time t touch 2.5 ms update time t touch 35 ms recalibration interval t cal 8 s automatic recalib ration active, no touch active, default settings led / gpio drivers (led / gpio 1 - 8) duty cycle duty led 0 100 % programmable sinking current i sink 24 ma v ol = 0.4 sourcing current i source 24 ma v oh = v dd - 0.4 input high voltage v ih 2.0 v led / gpio configured as input input low voltage v il 0.8 v led / gpio configured as input led drivers (led 9 - led 10) duty cycle duty led 0 100 % programmable sinking current i sink 24 ma output low voltage v ol 0.4 v i sink = 24ma led11 driver duty cycle duty led 0 100 % programmable sinking current i sink 48 ma output low voltage v ol 0.4 v i sink = 48ma i/o pins - smdata, smclk, and alert pins output low voltage v ol 0.4 v i sink_io = 8ma output high voltage v oh v dd - 0.4 v alert pin active high and asserted i source_io = 8ma input high voltage v ih 2.0 v input low voltage v il 0.8 v leakage current i leak 5 ua powered or unpowered ta < 85c pull-up voltage < 3.6v reset pin input high voltage v ih 2.0 v table 2.2 electrical specifications (continued) v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 14 smsc CAP1014 datasheet input low voltage v il 0.8 v reset pin assertion to device reset t rst_off 110us reset pin release to fully active operation t rst_on 400 500 ms smbus timing input capacitance c in 5pf clock frequency f smb 10 400 khz spike suppression t sp 50 ns bus free time start to stop t buf 1.3 us setup time: start t su:sta 0.6 us setup time: stop t su:stp 0.6 us data hold time t hd:dat 0.6 6 us data setup time t su:dat 0.6 72 us clock low period t low 1.3 us clock high period t high 0.6 us clock/data fall time t fall 300 ns min = 20+0.1c load ns clock/data rise time t rise 300 ns min = 20+0.1c load ns capacitive load c load 400 pf per bus line table 2.2 electrical specifications (continued) v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 15 revision 1.65 (08-11-09) datasheet chapter 3 communications the CAP1014 communicates via the smbus or i 2 c communications protocols. application note: upon power up, the CAP1014 will not respond to any smbus communications for 10ms. after this time, full functionality is available. 3.1 system management bus protocol the CAP1014 communicates with a ho st controller, such as an smsc sio, through the smbus. the smbus is a two-wire serial communication prot ocol between a computer host and its peripheral devices. a detailed timing diagram is shown in figure 3.1 . stretching of the smclk signal is supported, however the CAP1014 will not stretch the clock signal. 3.1.1 smbus start bit the smbus start bit is defined as a transition of th e smbus data line from a logic ?1? state to a logic ?0? state while the smbus clock line is in a logic ?1? state. 3.1.2 smbus address and rd / wr bit the smbus address byte consists of the 7-bit client address followed by the rd / wr indicator bit. if this rd / wr bit is a logic ?0?, then the smbus host is writing data to the client device. if this rd / wr bit is a logic ?1?, then the smbus host is reading data from the client device. the CAP1014-1 responds to the slave address 0101_000xb. the CAP1014-2 responds to slave address 0101_100xb. multiple addressing options are available. for more information contact smsc. 3.1.3 smbus data bytes all smbus data bytes are sent most significant bit first and composed of 8-bits of information. figure 3.1 smbus timing diagram smdata smclk t low t rise t high t fall t buf t hd:sta p s s - start condition p - stop condition t hd:dat t su:dat t su:sta t hd:sta p t su:sto s
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 16 smsc CAP1014 datasheet 3.1.4 smbus ack and nack bits the smbus client will acknowledge all data bytes that it receives. this is done by the client device pulling the smbus data line low after the 8th bit of each byte that is transmitted. this applies to both the write byte and block write protocols the host will nack (not acknowledge) the last data by te to be received from the client by holding the smbus data line high after the 8th data bit has been sent. for the block read protocol, the host will ack each data byte that it rece ives except the last data byte. 3.1.5 smbus stop bit the smbus stop bit is defined as a transition of the smbus data line from a logic ?0? state to a logic ?1? state while the smbus clock line is in a logic ?1? state. when the CAP1014 detects an smbus stop bit, and it has been communicating with the smbus pr otocol, it will reset its client interface and prepare to receive further communications. 3.1.6 smbus time-out the CAP1014 includes an smbus time-o ut feature. following a 30ms peri od of inactivity on the smbus where the smclk pin is held low, the device will time-out and reset the smbus interface. the time-out function defaults to disabled. it can be enabled by setting the timeout bit in the configuration register (see section 5.14 ). 3.1.7 smbus and i 2 c compliance the major difference between smbus and i 2 c devices is highlighted here. for complete compliance information refer to the smbus 2.0 specification. 1. minimum frequency for smbus communications is 10khz. 2. the client protocol will reset if t he clock is held low longer than 30ms. 3. the client protocol will reset if both the clock and the data line are high for longer than 150us (idle condition). 4. i 2 c devices do not support the alert response addre ss functionality (which is optional for smbus). 3.2 smbus protocols the CAP1014 is smbus 2.0 compatible and suppor ts send byte, read byte, block read, receive byte as valid protocols as shown below. the CAP1014 also supports the i 2 c block read and block write protocols. finally, it will respond to the al ert response address protocol but is not in full compliance. all of the below protocols use the convention in ta b l e 3 . 1 . table 3.1 protocol format data sent to device data sent to the host data sent data sent
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 17 revision 1.65 (08-11-09) datasheet 3.2.1 smbus write byte the write byte is used to write one byte of data to a specific register as shown in table 3.2 . 3.2.2 block write the block write is used to write multiple data byte s to a group of contiguous registers as shown in table 3.3 . it is an extension of the write byte protocol. application note: when using the block write protocol, the in ternal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. 3.2.3 smbus read byte the read byte protocol is used to read one byte of data from the registers as shown in table 3.4 . 3.2.4 block read the block read is used to read multiple data by tes from a group of contig uous registers as shown in table 3.5 . it is an extension of the read byte protocol. application note: when using the block read protocol, the internal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. table 3.2 write byte protocol start client address wr ack register address ack register data ack stop 1 ->0 0101_000 0 0 xxh 0 xxh 0 0 -> 1 table 3.3 block write protocol start client address wr ack register address ack register data ack 1 ->0 0101_000 0 0 xxh 0 xxh 0 register data ack register data ack . . . register data ack stop xxh 0 xxh 0 . . . xxh 0 0 -> 1 table 3.4 read byte protocol start client address wr ack register address ack start client address rd ack register data nack stop 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh 1 0 -> 1
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 18 smsc CAP1014 datasheet 3.2.5 smbus send byte the send byte protocol is used to set the internal address register pointer to the correct address location. no data is transferred during the send byte protocol as shown in ta b l e 3 . 6 . 3.2.6 smbus receive byte the receive byte protocol is used to read data from a register when the internal register address pointer is known to be at the right location (e.g. set via send byte). this is used for consecutive reads of the same register as shown in ta b l e 3 . 7 . table 3.5 block read protocol start client address wr ack register address ack start client address rd ack register data 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh ack register data ack register data ack register data ack . . . register data nack stop 0 xxh 0 xxh 0 xxh 0 . . . xxh 1 0 -> 1 table 3.6 send byte protocol start client address wr ack register address ack stop 1 -> 0 0101_000 0 0 xxh 0 0 -> 1 table 3.7 receive byte protocol start client address rd ack register data nack stop 1 -> 0 0101_000 1 0 xxh 1 0 -> 1
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 19 revision 1.65 (08-11-09) datasheet chapter 4 product description the CAP1014 is a multiple channel capacitive touch sensor and led driver. the CAP1014 contains up to 14 individual capacitive touch sensor inputs with programmable sensitivity for use in touch button and slider swit ch applications. each sensor also contains automatic recalibration. the CAP1014 also contains eleven (11) open drain le d drivers that offer full-on / off, variable rate breathing, and dimness controls. eight (8) of thes e leds can double as gpios and support open-drain or push-pull operation. capacitive buttons can be li nked to led outputs. additionally, leds 1-7 may be optionally linked to buttons 1-7 so that wh en a touch is detected, the led is actuated. the device communicates with a host controller using smbus. the host controller may poll the device for updated information at any time or it may configur e the device to flag an interrupt whenever a press is detected on any sensor. each sensor is polled by the device approximately every 35 ms. the host may also initiate a recalibratiion routine for one or more sensors or set up times and conditions so that the device automatically invokes the re-calibration routine. the CAP1014 contains multiple power states includi ng several low power operating modes. in addition, it contains a user driven reset pin to force the device to reset. a typical system diagram is shown in figure 4.1 .
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 20 smsc CAP1014 datasheet figure 4.1 system diagram for CAP1014 CAP1014 led11 slider led10 cs14 cs13 cs12 cs11 cs10 cs9 cs8 led9 3.3v 3.3v smdata smclk embedded controller vdd led8 alert dual color led 3.3v cs1 led1 touch button 3.3v 3.3v 3.3v cs2 led2 touch button 3.3v cs3 led3 touch button 3.3v cs5 led5 touch button 3.3v cs4 led4 touch button 3.3v cs6 led6 touch button 3.3v cs7 led7 touch button 3.3v reset
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 21 revision 1.65 (08-11-09) datasheet 4.1 power states the CAP1014 has four operating states depending on the status of the sleep, deact, and dsleep bits (see section 5.1 ). they are described below and summarized in table 4.1 . when the device transitions between power states, previously detect ed touches (for deactivated channels) are cleared and the status bits reset. 1. fully active - the device is fully active. it is monitoring all active capacitive sensor channels and driving all led channels as defined. 2. sleep - the device is in sleep mode. it is m onitoring a limited number of capacitive sensor channels (default 0). interrupts will still be generat ed based on the active channels. the device will still respond to smbus commands normally and c an be returned to the fully active mode by clearing the sleep bit. the led11 channel is controlled via the pwr_led control (see section 5.1 ). all other leds will not be affected. 3. deep sleep - the device is in deep sleep mode. it is not monitoring any capacitive sensor channels or the smbus. the led11 channel is controlled via the pwr_led control (see section 5.1 ). all other leds will have pwm controls suspended so they should be disabled prior to entering this mode. if these leds are not disabled, then the system will show excess current draw from these leds. when the device leaves the deep sleep mode (by externally driving the alert pin to its active state), then it automatical ly returns to its defined state and cl ears the dsleep bit. when the device enters the deep sleep mode, it will release control to the alert pin and will change the direction of the alert pin (i.e. the device will moni tor the alert pin instead of driving it). 4. inactive - the device is inactive. it is not monitoring any capacitive sensor channels. the device will still respond to smbus commands normally and can be returned to fully active mode by clearing the deact bit. all leds will have pwm controls suspended so they should be disabled prior to entering this mode. if these leds are not disabled, then the system will show excess current draw from these leds. the priority of power control signals is: 1. dsleep - when set will override deact, disabl e all leds except led11 then disable smbus communications. 2. deact - when set, will override the sleep contro ls. it will disable sens or measurement and all leds. 3. sleep - when set, will enable sleep mode. table 4.1 power modes power mode deact sleep dsleep fully active 0 0 0 deep sleep waking to fully active 0 0 1 sleep 010 deep sleep waking to sleep 0 1 1 inactive 100 deep sleep waking to inactive 1 0 1 inactive 110 deep sleep waking to inactive 1 1 1
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 22 smsc CAP1014 datasheet 4.2 reset pin the reset pin is an active high re set that is driven from an external source. whil e it is asserted high, all the internal blocks will be held in reset including the smbus. all configurati on settings will be reset to default states and all readings will be cleared. once the reset pin is pulled low, the CAP1014 will begin operation as if a power-on-reset had occurred. 4.3 led drivers the CAP1014 contains eleven (11) led drivers. ea ch led driver is controlled independently of the others and may be linked to the corresponding capacitive touch sensor inputs. in addition, led drivers 1 - 8 can be configured to operate in one of the following modes with either push-pull or open- drain drive. led drivers 9 - 11 will only operate in as an open-drain driver. 1. direct - the led is configured to be on or off when the corresponding button is pressed or not pressed. the dimness of both ?on? states and ?off ? states can be programmed as well as the rising and falling ramp times and delay when the corresponding button is released 2. breathe - the led is configured to breathe. over the course of the programmed cycle the led will transition from the programmed minimum to the programmed maximum and then back off again. this mode operates independently of any stim uli or may be linked so that the led breathes when the stimuli is asserted (or deasserted). this feature is commonly used for power leds when in standby mode. 3. pulse - the led is configured to breathe 5 time s with a programmable rate and dimness controls. this mode is linked to a button press detection or release. led11 operates differently than the other led outputs in three ways. first, it is configured to drive up to two external led channels simultaneously. second, it is not disabled during the sleep or deep sleep modes of operation (see section 5.1 ) and allows for different behaviors when the device is in fully active mode versus when the device is in sleep or deep sleep mode. 4.3.1 linking leds to capacitive touch sensors leds 1 - 7 can be optionally linked to capacitive touch sensors 1-7 so that when the sensor detects a button press, the corresponding led will be ac tuated at one of the programmed responses. 4.4 capacitive touch sensing the CAP1014 contains 14 independent capacitive touch sensor inputs. each sensor has dynamic range to detect a change of capacitance due to a touch. additionally, each sensor can be configured to be automatically and r outinely re-calibrated. 4.4.1 multiple button presses if multiple sensor buttons (with a programmable threshold - see section 5.23 ) are simultaneously detected, then only the first n bu ttons that are det ected are flagged. all ot her buttons are ignored. furthermore, the device remembers which buttons we re legitimate so new touches are not detected so long as n buttons are pressed. likewise, if too many (based on the programmed threshold - see section 5.23 ) grouped sensor presses are detected, then the device will block all press detections on the grouped buttons and cancel any current presses as if the sensor had been released. 4.4.2 lid closure to detect lid closure or other similar events, lid closure sensor thresholds can be set. a lid closure event can be flagged based on either a minimum number of sensors or on specific sensors
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 23 revision 1.65 (08-11-09) datasheet simultaneously exceeding the lid closure threshold. an interrupt can also be generated. during a lid closure event all touches are blocked. 4.4.3 grouped sensors capacitive touch sensors 8 through 14 inclusive ar e automatically grouped as a single entity. each sensor is sampled independently, however for purposes of activation, recalibration, and repeat rates, all of them are treated as one group. the group also has different controls and allows for different behavior such as sliding, tapping, or press and hold. 4.4.4 sensing cycle each capacitive touch sensor has controls to be activated and included in the sensing cycle. when the device is active, it automatic ally initiates a sensing cycle and repeats the cycle every time it finishes. the cycle polls through each active s ensor starting with cs1 and extending through cs14. as each capacitive touch sensor is polled, it s measurement is compar ed against a baseline ?not touched? measurement. if the delta measurement is large enough, then a touch is detected and an interrupt generated. 4.4.5 recalibrating sensors each sensor is regularly recalibrated at an adjustab le rate. by default, the recalibration routine stores the average 256 previous measurements and periodi cally updates the base ?not touched? setting for the capacitive touch sensor input. this routine is disabled automat ically if a touch is detected so the touch does not factor into the base ?not touched? setting. 4.5 grouped sensor behavior the CAP1014 grouped sensors function as a single entity that operates differently than the individual button sensors. this group functions as a slider and offers three different interface functions associated with it. 4.5.1 tap if a touch on any grouped sensor is detect ed and held for less than or equal to the m_press bit settings (default 245ms), then a group press is detected, the tap bit is set, and an interrupt is generated. furthermore, the relati ve position on the slider is dete rmined and the appropriate up or down status bits are set and th e appropriate led is actuated. no further action is taken. if a slide is subsequen tly detected, then the tap status bit is cleared. 4.5.2 press and hold if a touch on any grouped sensor is held for long er than the m_press bit settings (default 245ms), then a group touch is detected and an interrupt is generated. furthermore, the relative position on the slider is determined and the appropriate up or do wn status bits are set, the ph bit is set, and the appropriate le d is actuated. so long as the grouped sensor is held, it will flag an interrupt at the programmed repeat rate (as determined by the rpt_rate_ph bit settings) inde finitely. once the touch has been removed, then the group is returned to its normal operating condition. the m_press setting is important to distinguish between tap, press & hold and sliding. if m_press is set too low, a press & hold may be detected duri ng a slow slide. this will cause user confusion as the slide direction and led may change. longer m_ press settings will ensure that the 3 group behaviors are reliably distinct and will add more del ay prior to the press & hold repeat interrupt generation.
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 24 smsc CAP1014 datasheet 4.5.3 slider the grouped sensors have the capability to detect a slide in either the ?up? or ?down? direction as referenced by the sensor numbers that are used. for example, an ?up? direction slide would be detected if cs8 detected a touch, followed by cs9, then by cs10 etc. likewise, a ?down? direction slide would be detected if cs10 detected a touch, followed by cs9, then by cs8 etc. slides in either direction are configured to flag an interrupt and to cause an led to be actuated (separate for each direction). the slide is dete cted independently of a press and hold or a tap condition and only one condition may be present at any one time. so long as a slide is maintained in either direct ion, it will flag an interrupt at the programmed repeat rate (as determined by the rpt_rate_sl bit settings ). if the slide is removed or changes direction, then it will reset and return to normal operation. 4.5.4 relative position the CAP1014 has the option to indicate the relative position of a touch on the grouped sensors. this value is stored either as a scaled number from 2 to 98 indicating where a tap, press and hold, or the end of a slide was detected or as a 8-bit number that represents volumetric data. when configured to store volumetric data, the user may write a base sett ing at any time that is modified based on grouped sensor behavior (see section 5.4 ). 4.5.5 slider velocity the repeat rate can be dynamically increased based on the speed of a slide. this permits slow sliding motions to have precise, step-by-s tep volume control and faster moti ons to generate increasingly fast volume changes. two techniques are employed to make increase the number of interrupts generated based on speed. first, the slide speed is measured and the repeat ra te is increased to provide more interrupts for the same distance traveled relative to a slower s lide. second, additional interrupts are generated immediately after the slide ends to further increase the change in volume. the number of additional interrupts is based on slide speed; both of these dy namic slider behaviors are controlled by the slider velocity register. 4.6 alert pin the alert pin is an active high output that is driv en high when an interrupt event is detected. it is also used to wake the device from deep sleep mode. whenever an interrupt is generated, the int bit (see section 5.1 ) is set. the alert pin is cleared when int bit is cleared by the user. additionally, when the int bit is cleared by the user status bits are cleared only if no press is detected. 4.6.1 button interrupt behavior for non-grouped buttons, an interrupt is generated when a touch is detected. if the repeat rate is enabled (see section 5.14 ), then, so long as the touch is held, another interrupt will be generated based on the programmed repeat rate (see figure 4.2 ). an interrupt will be generated whenever a release is detected (see figure 4.3 ). 4.6.2 grouped sensor interrupt behavior for grouped sensors, an interrupt is generated upon init ial detection of a tap, slide, or press and hold event. then, subsequent interru pts are generated as follows: 1. for a slide event, an interrupt is generated bas ed on the programmed repeat rate as well as the velocity of the slide operation. see figure 4.6 and figure 4.7 . additionally, additional interrupts are
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 25 revision 1.65 (08-11-09) datasheet generated after the sl ide has finished. these ex tra interrupts are generate d every round robin cycle (~35ms) and the number is determin ed by the speed of the slide. 2. for a tap event there are no further interrupts. see figure 4.4 . 3. for a press and hold event, interrupts are gener ated based on the programmed repeat rate. if the repeat rate is disabled, then no further interrupts are generated. see figure 4.5 . 4.6.3 wake from deep sleep this pin is also used to wake the device from the deep sleep power state if it is driven high from an external source. when the device ent ers the deep sleep power state, the alert pin output is put into a high z mode. it requires a pull-down resistor to pull it to the inactive state. furthermore, the CAP1014 will wait 5ms before it samples the alert pin for wake activity. figure 4.2 button interrupt behavior - repeat rate en abled (default) figure 4.3 button interrupt behavior - no repeat rate enabled touch detected alert pin / int bit button status smbus write to int bit polling cycle (35ms) button repeat rate (175ms) interrupt on release interrupt on touch button repeat rate (175ms) button repeat rate (175ms) touch detected alert pin / int bit button status smbus write to int bit polling cycle (35ms) interrupt on touch interrupt on release
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 26 smsc CAP1014 datasheet figure 4.4 tap interrupt behavior figure 4.5 press and hold interrupt behavior touch detected alert pin / int bit tap & up / down status smbus write to int bit polling cycle (35ms) m_press setting (280ms) released before m_press touch detected alert pin / int bit ph status smbus write to int bit polling cycle (35ms) m_press setting (280ms) up / down status repeat rate (rpt_rate_ph - 175ms) held longer than m_press setting repeat rate (rpt_rate_ph - 175ms)
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 27 revision 1.65 (08-11-09) datasheet figure 4.6 slide interrupt be havior - no acceleration touch detected - cs11 alert pin / int bit smbus write to int bit polling cycle (35ms) up status touch detected - cs12 touch detected ? cs13 touch detected ? cs14 down status touch detected ? cs10 touch detected ? cs9 touch detected ? cs8 repeat rate (175ms) down up repeat rate (175ms)
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 28 smsc CAP1014 datasheet figure 4.7 slide interrupt behavior - acceleration example touch detected - cs11 alert pin / int bit smbus write to int bit polling cycle (35ms) touch detected - cs12 touch detected ? cs13 touch detected ? cs14 touch detected ? cs10 touch detected ? cs9 touch detected ? cs8 maximum slide (768ms) repeat rate (base = 140ms) minor acceleration - repeat rate reduced 70ms major acceleration - repeat rate reduced 35ms normal slide ? no change in repeat rate 140ms 70ms slide ended (525ms) = 0.68 x max ? generate 2 extra interrupts at 35ms apart 35ms
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 29 revision 1.65 (08-11-09) datasheet chapter 5 register description the registers shown in ta b l e 5 . 1 are accessible through the smbus. an entry of ?-? indicates that the bit is not used and will always read ?0?. table 5.1 register set in hexadecimal order register address r/w register name function default value page 00h r/w main status control controls general sleep states and power dissipation 00h page 34 03h r button status 1 returns the state of the cap sensor group and buttons 1 - 6 and slider controls 00h page 35 04h r button status 2 returns t he state of buttons 7 - 14 00h page 35 05h r build revision stores the functional revision of the device build 1xh page 36 06h r-c / r/w slider position / volumetric data returns the relative position of a press on the slider or volumetric data 00h page 37 08h r vendor id stores a fixed valu e that identifies smsc 5dh page 38 09h r/w volumetric step controls the step used for volumetric data increases for a slide 01h page 38 0ah r noise flag status 1 stores the noise flags for sensors 1 - 7 00h page 39 0bh r noise flag status 2 stores the noise flags for sensors 8 - 14 00h page 39 0ch r lid closure status 1 stores lid closure status bits for sensors 1 - 7 00h page 39 0dh r lid closure status 2 stores lid closure status bits for sensors 8 - 14 00h page 39 0eh r-c gpio status stores the status of led1 / gpio1 through led8 / gpio8 pins 00h page 40 0fh r-c group status returns the state of the grouped sensors 00h page 40 10h r sensor 1 delta count stores the delta count for cs1 00h page 41 11h r sensor 2 delta count stores the delta count for cs2 00h page 41 12h r sensor 3 delta count stores the delta count for cs3 00h page 41 13h r sensor 4 delta count stores the delta count for cs4 00h page 41
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 30 smsc CAP1014 datasheet 14h r sensor 5 delta count stores the delta count for cs5 00h page 41 15h r sensor 6 delta count stores the delta count for cs 6 00h page 41 16h r sensor 7 delta count stores the delta count for cs7 00h page 41 17h r sensor 8 delta count stores the delta count for cs8 00h page 41 18h r sensor 9 delta count stores the delta count for cs9 00h page 41 19h r sensor 10 delta count stores the delta count for cs10 00h page 41 1ah r sensor 11 delta count stores the delta count for cs11 00h page 41 1bh r sensor 12 delta count stores the delta count for cs12 00h page 41 1ch r sensor 13 delta count stores the delta count for cs13 00h page 41 1dh r sensor 14 delta count stores the delta count for cs14 00h page 41 1eh r/w queue control controls how many samples must exceed touch threshold for button press detections 03h page 42 1fh r/w data sensitivity controls the sensitivity of the threshold and delta counts and data scaling of the base counts 2fh page 42 20h r/w configuration controls some recalibration and led controls 2dh page 44 21h r/w sensor enable controls whether the capacitive touch sensor group and button inputs 1 - 7 are sampled ffh page 45 22h r/w button configuration controls reset delay and auto- repeat delay for buttons a4h page 46 23h r/w group configuration 1 controls the detection dwell time before a press is detected within the group 47h page 47 24h r/w group configuration 2 controls reset delay and auto- repeat delay for grouped sensors d4h page 48 25h r/w calibration enable controls automatic calibration for grouped sensors and sensors 1 - 7 ffh page 48 26h r/w calibration activate activates manual re-calibration for grouped sensors and sensors 1 - 7 00h page 49 table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 31 revision 1.65 (08-11-09) datasheet 27h r/w interrupt enable 1 enables interrupts associated with the grouped sensors and sensors 1 - 7 ffh page 49 28h r/w interrupt enable 2 enables interrupts associated with gpios 1 - 8 00h page 49 29h r/w sleep channel control determines the number and which channels are measured during sleep mode 00h page 51 2ah r/w multiple press configuration determines the number of simultaneous presses to flag a multiple press condition 82h page 51 2bh r/w lid closure configuration controls lid closure detection and operation 00h page 52 2ch r/w lid closure queue control controls how many samples must exceed the lid closure threshold for button and slider operation 02h page 53 2dh r/w lid closure pattern 1 stores pattern bits for lid closure detection for channels 1 - 7 7fh page 53 2eh r/w lid closure pattern 2 stores pattern bits for lid closure detection for channels 8 - 14 7fh page 53 2fh r/w recalibration configuration determines re-calibration timing and sampling window 93h page 54 30h r/w sensor 1 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 1 40h page 55 31h r/w sensor 2 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 2 40h page 55 32h r/w sensor 3 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 3 40h page 55 33h r/w sensor 4 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 4 40h page 55 34h r/w sensor 5 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 5 40h page 55 35h r/w sensor 6 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 6 40h page 55 36h r/w sensor 7 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 7 40h page 55 37h r/w group threshold stores the delta count threshold to determine a touch on any of the grouped sensors 40h page 55 table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 32 smsc CAP1014 datasheet 38h r/w (unlock) button noise threshold 1 stores controls for selecting the noise threshold for buttons 1 - 4 55h page 56 39h r/w (unlock) button noise threshold 2 stores controls for selecting the noise threshold for buttons 5 - 7 and the grouped sensors 55h page 56 3ah r/w (unlock) lid closure threshold 1 stores controls for selecting the lid closure threshold for buttons 1 - 4 aah page 57 3bh r/w (unlock) lid closure threshold 2 stores controls for selecting the lid closure threshold for buttons 5 - 8 aah page 57 3ch r/w (unlock) lid closure threshold 3 stores controls for selecting the lid closure threshold for buttons 9 - 12 aah page 57 3dh r/w (unlock) lid closure threshold 4 stores controls for selecting the lid closure threshold for buttons 13 - 14 0ah page 57 3eh r/w slider velocity configuration determines speed parameters for the slider c5 page 59 4fh r/w sampling configuration changes the sampling time for one or more input channels 00h page 60 50h r sensor 1 base count stores the reference count value for sensor 1 00h page 61 51h r sensor 2 base count stores the reference count value for sensor 2 00h page 61 52h r sensor 3 base count stores the reference count value for sensor 3 00h page 61 53h r sensor 4 base count stores the reference count value for sensor 4 00h page 61 54h r sensor 5 base count stores the reference count value for sensor 5 00h page 61 55h r sensor 6 base count stores the reference count value for sensor 6 00h page 61 56h r sensor 7 base count stores the reference count value for sensor 7 00h page 61 57h r sensor 8 base count stores the reference count value for sensor 8 00h page 61 58h r sensor 9 base count stores the reference count value for sensor 9 00h page 61 59h r sensor 10 base count stores the reference count value for sensor 10 00h page 61 5ah r sensor 11 base count stores the reference count value for sensor 11 00h page 61 5bh r sensor 12 base count stores the reference count value for sensor 12 00h page 61 table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 33 revision 1.65 (08-11-09) datasheet 5ch r sensor 13 base count stores the reference count value for sensor 13 00h page 61 5dh r sensor 14 base count stores the reference count value for sensor 14 00h page 61 70h r/w led / gpio direction controls the direction for led1/ gpio1 through led8 / gpio8 00h page 62 71h r/w led / gpio output type controls the output type for led1 / gpio1 through led8 / gpio8 00h page 62 72h r gpio input stores the pin state of led1 / gpio1 through led8 / gpio8 00h page 63 73h r/w led output control 1 controls the output state of the led drivers 1 - 8 00h page 63 74h r/w led output control 2 controls the output state of the led drivers 9 - 11 00h page 63 75h r/w led polarity 1 controls the out put polarity of leds 1 - 8 00h page 64 76h r/w led polarity 2 controls the out put polarity of leds 9 - 11 00h page 64 80h r/w sensor led linking controls linking of cs1 - cs7 to led channels 00h page 66 81h r/w led behavior 1 controls the behavior and response of leds 1 - 4 00h page 67 82h r/w led behavior 2 controls the behavior and response of leds 5 - 8 00h page 67 83h r/w led behavior 3 controls the behavior and response of leds 9 - 11 00h page 67 84h r/w led pulse 1 period controls the period of each breathe during a pulse 20h page 69 85h r/w led pulse 2 period controls the period of breath and pulse release operation 14h page 71 86h r/w led breathe period controls the period of an led breathe operation 5dh page 72 88h r/w led pulse config controls the number of pulses for the pulse 1 and pulse 2 led behaviors 24h page 72 90h r/w led pulse 1 duty cycle determines the min and max duty cycle for the pulse operation f0h page 73 91h r/w led pulse 2 duty cycle determines the min and max duty cycle for the breathe and pulse release operation f0h page 73 92h r/w led breathe duty cycle determines the min and max duty cycle for the breathe operation f0h page 73 table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 34 smsc CAP1014 datasheet during power-on-reset (por), the default values are stored in the registers. a por is initiated when power is first applied to the part and the vo ltage on the vdd supply surpasses the por level as specified in the electrical charac teristics. any reads to undefined registers will return 00h. writes to undefined registers will not have an effect. 5.1 main status control register the main status and control register contro ls the primary power state of the device. bit 6 - deact - deactivates all sensor scanning and led activity. ? ?0? - (default) - sensor scanning is active and leds are functional. ? ?1? - all sensor scanning is disabled and all linked leds are disabled (see section 5.39 ). the only way to restart scanning is to clear this bit. th e status registers are automatically cleared and the int bit is cleared. bit 5 - sleep - enables sleep mode by deactivating the led activity. ? ?0? (default) - sensor scanning is active and leds are functional. ? ?1? - all leds are disabled (except led11) and the capacitive touch sensor scanning is limited to the sensors set in the sleep channel control register (see section 5.22 ). the status registers will not be cleared. bit 4 - dsleep - enables the deep sleep mode by deactivating all functions. ? ?0? (default) - sensor scanning is active and leds are functional. ? ?1? - all sensor scanning is disabled and all le ds are disabled (except led11). the device will return to its previous power state when the alert pin is driven to its active level (see section 4.1 ). the status registers are automaticall y cleared and the int bit is cleared. bit 1 - pwr_led - controls the output of led11 based on the state of bits 5 and 4. ? ?0? (default) - the led11 output is in the ?inactive? or off state. 93h r/w led direct duty cycle determines the min and max duty cycle for direct mode led operation f0h page 73 94h r/w led direct ramp rates determines the rising and falling edge ramp rates of the led 00h page 74 95h r/w led off delay determines the off delay for all led behaviors 00h page 75 fdh r product id stores a fixed value that identifies each product 2dh page 77 ffh r revision stores a fixed value that represents the revision number 81h page 77 table 5.2 main status control register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 00h r/w main status control - deact sleep dsleep - - pwr_ led int 00h table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 35 revision 1.65 (08-11-09) datasheet ? ?1? - the led11 output is active in one of the following conditions: a.both bits 4 and 5 are set to a logic ?0? (n ormal mode). the led will behave as defined the the led11_ctl bits (see section 5.40 ). b.either bit 4 or bit 5 are set to a logic ?1? (s leep mode). the led will behave as defined by the led11_alt bits (see section 5.40 ). bit 0 - int - indicates that there is an interrupt. th is bit is only set if the alert pin has been asserted. if a channel detects a press and its associated interrupt enable bit is not set to a logic ?1? then no action is taken. this bit is cleared by writing a logic ?0? to it. when this bit is cleared, the alert pin will be deasserted and all status registers will be cleared if the condition has been removed. ? ?0? - no interrupt pending. ? ?1? - a button press has been detected on one or more channels and the interrupt has been asserted. 5.2 button status registers the button status registers store status bits that indicate a butto n press has been detected. a value of ?0? in any bit indicates that no button press has been detected. a value of ?1? in any bit indicates that a button press has been detected. all status bits are cleared when the device enters the deep sleep or inactive states (dsleep = ?1? or deact = ?1? - see section 5.1 ). all status bits are cleared when the int bit is cleared and if a touch on the respective capacitive touch sensor is no lon ger present. if a touch is still detected, then the bits will not be cleared (but this will not cause the interrupt to be asserted - see section 5.14 ) application note: when the button status 1 regist er is read, the group status register will be automatically cleared. therefore, the group status regist er should be read prior to reading the button status registers 5.2.1 button status 1 bit 7 - up - indicates that a slide was detected on increasing sensors (i.e. sensor 8 -> sensor 9 -> sensor 10). this bit is also set if a press is detec ted on the ?up? portion of the slider. if the group auto-repeat is enabled, then the alert pin will be periodically asserted while a slide or press and hold event is still detected. this bit is sticky and will remain se t until cleared. once cleared, it will be re-set when another interrupt is ge nerated in the ?up? direction. this bit is automatically cleared if the down bit is set. bit 6 - down - indicates that a slide was detected on decreasing sensors (i.e. sensor 14 -> sensor 13-> sensor 12). this bit is also set if a press is detected on the ?down? portion of the slider. if the group auto-repeat is enabled, then the alert pin wi ll be periodically asserted while a slide or press and hold event is still detec ted. this bit is sticky and will remain set until cleared. once cleared, it will be re-set when another interrupt is generated in the ?down? direction. this bit is automatically cleared if the up bit is set. table 5.3 button status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 03h r button status 1 up down cs6 cs5 cs4 cs3 cs2 cs1 00h 04h r button status 2 cs14 cs13 cs12 cs11 cs10 cs9 cs8 cs7 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 36 smsc CAP1014 datasheet bit 5 - cs6 - indicates that a press was detected on sensor 6. this sensor can be linked to led6. ? ?0? - a touch was not detected on the corresponding button. ? ?1? - a touch was detected on the corresponding button. bit 4 - cs5 - indicates that a press was detected on sensor 5. this sensor can be linked to led5. bit 3 - cs4 - indicates that a press was detected on sensor 4. this sensor can be linked to led4. bit 2 - cs3 - indicates that a press was detected on sensor 3. this sensor can be linked to led3 bit 1 - cs2 - indicates that a press was detected on sensor 2. this sensor can be linked to led2. bit 0 - cs1 - indicates that a press was detected on sensor 1. this sensor can be linked to led1. 5.2.2 button status 2 bit 7 - cs14 - indicates that press was detected on s ensor 14. this sensor is part of the group which can be linked to led9 and led10. bit 6 - cs13 - indicates that press was detected on s ensor 13. this sensor is part of the group which can be linked to led9 and led10. bit 5 - cs12 - indicates that press was detected on s ensor 12. this sensor is part of the group which can be linked to led9 and led10. bit 4 - cs11 - indicates that press was detected on sensor 11. this sensor is part of the group which can be linked to led9 and led10. bit 3 - cs10 - indicates that press was detected on s ensor 10. this sensor is part of the group which can be linked to led9 and led10. bit 2 - cs9 - indicates that press was detected on se nsor 9. this sensor is part of the group which can be linked to led9 and led10. bit 1 - cs8 - indicates that press was detected on se nsor 8. this sensor is part of the group which can be linked to led9 and led10. bit 0 - cs7 - indicates that a press was detected on sensor 7. this sensor can be linked to led7. 5.3 build revision register the build revision register indicates ha rdware defined settings that are used. table 5.4 firmware revision register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 05h r CAP1014-1 build revision 00010001 11h 05h r CAP1014-2 build revision 00010010 12h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 37 revision 1.65 (08-11-09) datasheet 5.4 slider position / volumetric data register the slider position register indicates the absolute position of a tap, slide, or press and hold event detected on the grouped sensors (slider). alternately, the register stores volumetric data that increases or decreased based on detec ted operations on the gr ouped sensors (slider). bits 6-0 - pos[6:0] - indicate absolute position or volumetric data as determined by the pos_vol bit (see section 5.14 ). 5.4.1 absolute position the absolute position of a single t ouch is available from this register. by interpolating information from up to 3 adjacent buttons, 16 different positions are calculated by the CAP1014 from the center of one button to the center of each adjacent button. the bits will encode a range from 2 to 98 indicative of where the touch occurred. table 5.7 shows an example of the settin gs assuming a single button is pressed. if a slide is detected on the gro uped sensors, then the pos[6:0] bits will indi cate the most recently touched sensor (i.e. where the slide ended) howeve r will not indicate where the slide originated. application note: the register will be cleared to a value of 00h when it is read. it will be set to a valid position when the next alert is generated. it will be upda ted at the respective repeat rate for a slide or press and hold event regardless of whether it has been read or not. therefore, it will only show the position of the last touch de tected at the time of the interrupt. table 5.5 build history build device reason for change 10h CAP1014 initial development 11h CAP1014-1 activated lid closure circuitry 12h CAP1014-2 activated lid closure circuitry and changed smbus address to 0101_100b table 5.6 slider position / volumetric data register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 06h r-c / r/w slider position / volumetric data - pos[6:0] 00h table 5.7 example slider absolute position decode touch position pos[6:0] settings cs8 02h (2d) cs9 12h (18d) cs10 22h (34d) cs11 32h (50d)
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 38 smsc CAP1014 datasheet 5.4.2 volumetric data if they are setup to pres ent volumetric data (see section 5.14 ) then the bits will encode a range from 0 to 100. this value is updated ba sed on the grouped sensor activity: ? a slide in the ?up? direction will increase the volumetric data by the volumetric step setting (see section 5.6 ) whenever an interrupt is generated (includi ng extra interrupts generated after the slide is complete). ? a slide in the ?down? direction will decrease the volumetric data by the volumetric step setting (see section 5.6 ) whenever an interrupt is generated (including extra interrupts generated after the slide is complete) ? a tap (see section 4.5.1 ) on the ?up? side will increase the volumetric data by a value of 1. ? a tap on the ?down? side will decrease the volumetric data by a value of 1. ? a press and hold (see section 4.5.2 ) on the ?up? side will increase the volumetric data by a value of 1 at every repeat rate interval. ? a press and hold (see section 4.5.2 ) on the ?down? side will decrease the volumetric data by a value of 1 at every repeat rate interval. the bits are read / write. 5.5 vendor id register the vendor id register stores an 8-bit value that represents smsc. 5.6 volumetric step register the volumetric step register controls the size of a step to the volumetric data when a slide is detected in the up and down directions. bits 3 - 0 - vol_step[3:0] - determines the volume tric data step when a slide is detected. each lsb corresponds to a value of 1. cs12 42h (68d) cs13 52h (82d) cs14 62h (98d) table 5.8 vendor id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 08h r vendor id 01011101 5dh table 5.9 volumetric step register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 09hr/wvolumetric step---- vol_step[3:0] 01h table 5.7 example slider absolute position decode (continued) touch position pos[6:0] settings
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 39 revision 1.65 (08-11-09) datasheet 5.7 noise flag status registers the noise flag status registers store status bits that are gener ated from the analog block if the detected noise is above the operatin g region of the analog detector. th ese bits indicate that the most recently received data from the sensor is invalid and should not be used for touch detection. furthermore, so long as the bit is set for a partic ular channel, no decisions are made with the data. the queues are not updated, a touch is not detected, and a release is not detected. these bits are not sticky and will be cleared au tomatically if the analog block does no t report a noise error. 5.8 lid closure status registers the lid closure status registers bits are only set if the lid closure detection circuitry is enabled (see section 5.24, "lid closure configuration register" ). these status bits indicate that the corresponding capacitive touch sensor exceeded the lid closure th reshold. these bits will be set if a button press is detected, because the lid closure threshol d is a percentage of the sensor threshold. these bits are used in combination with the lid cl osure pattern register settings to determine when a lid closure event is flagged (see section 5.26, "lid closure pattern registers" ). these bits are not sticky and will be cleared automa tically when the corresponding sensor count drops below the lid closure count threshold. the devic e does not flag a sensor as above or below the threshold until it has cycled through the queue (see section 5.25, "lid closure queue control register" ). application note: it is likely that recalibration will occur while th e lid is closed, resulting in negative delta counts until recalibration takes place. table 5.10 noise flag status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 0ah r noise flag status 1 - s7_ noise s6_ noise s5_ noise s4_ noise s3_ noise s2_ noise s1_ noise 00h 0bh r noise flag status 2 - s14_ noise s13_ noise s12_ noise s11_ noise s10_ noise s9_ noise s8_ noise 00h table 5.11 lid closure status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 0ch r lid closure status 1 - s7_ lid s6_ lid s5_ lid s4_ lid s3_ lid s2_ lid s1_ lid 00h 0dh r lid closure status 2 - s14_ lid s13_ lid s12_ lid s11_ lid s10_ lid s9_ lid s8_ lid 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 40 smsc CAP1014 datasheet 5.9 gpio status register the gpio status register bits are set whenever one of the gpio inputs change s states. if the ledx / gpiox pin is not configured as a gpio or as an input, then the respective bit will be set to a logic ?0?. the bits are cleared when the register is read. 5.10 group status register the group status register indicates that one or mo re actions was detected on the grouped sensors. the detectable actions are described in section 4.5 . bit 7 - lid - indicates that a lid closure event has been detected. this bit is sticky. when it is set, it will remain set until read. when a lid closure even t is detected, all new touches will be blocked. bit 6 - mult - this bit is asserted if one or more touches are being blocked because greater than n buttons are simultaneously pressed. bit 3 - up - indicates that a slide was detected on increasing sensors (i.e. sensor 1 -> sensor 2 -> sensor 3). this bit is also set if a touch (tap or pr ess and hold event) is detected on the ?up? portion of the slider. if the group auto-repeat is enabled, then the alert pin will be periodically asserted while a slide or press and hold event is detected. this bit will be cleared when read and re-set when another interrupt is generated. this bit is cleared automatically if the down bit is set. bit 2 - down - indicates that a s lide was detected on decreasing sensors (i.e. sensor 6 -> sensor 5 -> sensor 4). this bit is also set if a touch (t ap or press and hold event) is detected on the ?down? portion of the slider. if the group auto-repeat is enabled, then the alert pin will be periodically asserted while a slide or press and hold event is det ected. this bit will be cleared when read and re- set when another interrupt is generated. this bit is automatically cleared if the up bit is set. bit 1 - tap - indicates that a tap was detected on one of the sensors within the group. the relative position of the tap is indicated by the up and down bits so that a tap on the ?up? side of the group will assert the up bit as well as the tap bit. if t he tap event is detected in the ?center? of the slider that is neither ?up? nor ?down? then the bit wil l be set however no interrupt will be generated. this bit is sticky and will re main set until read. bit 0 - ph - indicates that a press and hold event wa s detected on one of the sensors within the group. the relative position of the press is indicated by the up and down bits so a touch and hold on the ?up? side of the group will assert the up bit as well as the ph bit. if the press and hold event is detected in the ?center? of the slider that is neither ?up? nor ?down? then the bit will be set however no interrupt will be generated . this bit is sticky and will remain set until read. if the condition is still present, then this bit will be re-s et when the interrupt is generated. table 5.12 gpio status register addrr/wregisterb7b6b5b4b3 b2 b1b0default 0eh r-c gpio status gpio8_ sts gpio7_ sts gpio6_ sts gpio5_ sts gpio4_ sts gpio3_ sts gpio2_ sts gpio1_ sts 00h table 5.13 gpio status register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 0fh r-c group status lid mult - - up down tap ph 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 41 revision 1.65 (08-11-09) datasheet 5.11 sensor delta count registers the sensor delta count registers store the delta co unt that is compared against the threshold used to determine if a touch has been detected. the count value represents a change in input due to the capacitor associated with a touch on one of the s ensors and is referenced to a calibrated base ?not touched? count value. the delta is an instantaneous change and is updated once per sensor per sensing cycle (see section 4.4.4 - sensor cycle). the value presented is a standard 2?s complement nu mber. in addition, the value is capped at a value of 7fh. a reading of 7fh indicates that the sensit ivity settings are too high and should be adjusted accordingly (see section 5.13 ). the value is also capped at a negative value of ffh for negative delta counts which may result upon a release. table 5.14 sensor delta count registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 10h r sensor 1 delta count sign 64 32 16 8 4 2 1 00h 11h r sensor 2 delta count sign 64 32 16 8 4 2 1 00h 12h r sensor 3 delta count sign 64 32 16 8 4 2 1 00h 13h r sensor 4 delta count sign 64 32 16 8 4 2 1 00h 14h r sensor 5 delta count sign 64 32 16 8 4 2 1 00h 15h r sensor 6 delta count sign 64 32 16 8 4 2 1 00h 16h r sensor 7 delta count sign 64 32 16 8 4 2 1 00h 17h r sensor 8 delta count sign 64 32 16 8 4 2 1 00h 18h r sensor 9 delta count sign 64 32 16 8 4 2 1 00h 19h r sensor 10 delta count sign 64 32 16 8 4 2 1 00h 1ah r sensor 11 delta count sign 64 32 16 8 4 2 1 00h 1bh r sensor 12 delta count sign 64 32 16 8 4 2 1 00h 1ch r sensor 13 delta count sign 64 32 16 8 4 2 1 00h 1dh r sensor 14 delta count sign 64 32 16 8 4 2 1 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 42 smsc CAP1014 datasheet 5.12 queue control register the queue control register determines the number of consecutive samples for which a single sensor output is above the sensor threshold before a touch is detect ed. this is also used to determine the number of consecutive samples used to detect a button release. the queue applies independently to all channels. bits 2 - 0 - queue_b[2:0] - the nu mber of consecutive samples nece ssary to detect a touch. default is 3 consecutive samples. see table 5.16 . 5.13 data sensitivity register the data sensitivity regist er controls the sensitiv ity of a touch detection. bits 6- 4 d_dsp[2:0] - controls t he sensitivity of a touch detection. the sensitivity settings act to scale the relative delta count value higher or lower based on the system parameters. a setting of 0000b is the most sensitive while a setting of 1111b is the least sensitive. at the more sensitive settings, touches are detected for a smaller delta c corresponding to a ?lighter? touch. these settings are more sensitive to noise however and a noisy environment may flag mo re false touches than higher sensitivity levels. table 5.15 queue control register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 1eh r/w button queue control - - - - - queue_b[2:0] 03h table 5.16 queue_b bit decode queue_b[3:0] number of consecutive readings > threshold 21 0 00 0 1 00 1 1 01 0 2 01 1 3 10 0 4 10 1 5 11 0 6 11 1 7 table 5.17 data scaling register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 1fh r/w data sensitivity - d_dsp[2:0] c_dsp[3:0] 2fh
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 43 revision 1.65 (08-11-09) datasheet application note: a value of 128x is the most sensitive setting av ailable. at the most sensitive settings, the msb of the delta count register represents 64 out of ~25,000 which corresponds to a touch of approximately 0.25% of the base capacitance (or a c of 25ff from a 10pf base capacitance). conversely a val ue of 1x is the least sensitiv e setting available. at these settings, the msb of the delta count register corresponds to a delta count of 8192 counts out of ~25,000 which corresponds to a touch of approximately 33% of the base capacitance (or a c of 3.33pf from a 10pf base capacitance). bits 3 - 0 - c_dsp[3:0] - controls the scaling and data presentation of the ba se count registers. the higher the value of these bits, the larger the ra nge and the lower the resolution of the data presented. the scale factor represents the multiplier to the bit- weighting presented in these register descriptions. application note: the c_dsp[3:0] bits normally do not need to be updated. these settings will not affect touch detection or sensitivity. these bits are someti mes helpful in analyzing the cap sensing board performance and stability. table 5.18 d_dsp bit decode d_dsp[2:0] sensitivity multiplier 210 0 0 0 128x (most sensitive) 001 64x 0 1 0 32x (default) 011 16x 100 8x 101 4x 110 2x 1 1 1 1x - (least sensitive) table 5.19 c_dsp bit decode c_dsp[3:0] data scaling factor 32 1 0 00 0 0 1x 00 0 1 2x 00 1 0 4x 00 1 1 8x 01 0 0 16x 01 0 1 32x 01 1 0 64x 0 1 1 1 128x
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 44 smsc CAP1014 datasheet 5.14 configuration register the configuration register controls general glo bal functionality that af fects the entire device. bit 7 - timeout - enables the timeout and idle functionality of the smbus protocol. ? ?0? (default) - the smbus timeout and idle functi onality are disabled. the smbus interface will not time out if the clock line is held low. likewise, it will not reset if both the data and clock lines are held high for longer than 150us. this is used for i 2 c compliance. ? ?1? - the smbus timeout and idle functionality are enabled. the smbus interfac e will time out if the clock line is held low for longer than 30ms. likewise, it will reset if both the data and clock lines are held high for longer than 150us. bit 6 - pos_vol - determines the behavior of the pos[6:0] status bits when a grouped sensor is activated - see section 5.4 . ? ?0? (default) - the pos[6:0] bits represent position information t hat indicates which sensor was touched or the last sensor touched during a slide. ? ?1? - the pos[6:0] bits r epresent volumetric data. the position / volumetric data register is read / write. bit 5 - blk_dig_noise - determines whether t he noise threshold is checked when determining whether to discard samples. ? ?0? - the noise threshold is enabled and checked. if a sample is above the noise threshold, it is not included in the re-calibration routine. ? ?1? (default) - the noise threshold is disabled. no samples are excluded from the re-calibration routine. bit 4 - blk_ana_noise - determines whether the no ise flag setting will block a touch detection as well as the analog calibration routine. ? ?0? (default) - if the analog noise bit is set, then a touch is blocked on the corresponding channel and will force the analog calibration routine to retry. ? ?1? - a touch is not blocked even if the analog no ise bit is set. likewise, the analog calibration routine will not retry if the analog noise bit is set. bit 3 - max_dur_en_b - determines whether the maximum duration recalibration is enabled for non- grouped sensors. 1 0 0 0 256x all others 256x (default = 1111b) table 5.20 configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 20h r/w configuration time out pos_ vol blk noise_ th blk_ noise_ dis max_ dur_ en_b rpt_ en_b max_ dur_ en_g rpt_ en_g 2dh table 5.19 c_dsp bit decode (continued) c_dsp[3:0] data scaling factor 32 1 0
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 45 revision 1.65 (08-11-09) datasheet ? ?0? - the maximum duration recalibration functionality is disabled. a press may be held indefinitely and no re-calibration will be performed on any button. ? ?1? (default) - the maximum duratio n recalibration functionality is enabled. if a press is held for longer than the max_dur_b bit settings, then the re-calibration routine will be restarted (see section 5.16 ). application note: if the rpt_en_b bit is updated while a touch is present on a button, then no changes will be made to the interrupts until that button has been released. bit 2 - rpt_en_b - determines the interrupt mechanism used when a press is detected on a non- grouped sensor (button) ? ?0? - an interrupt will be generated when a touch is detected and again when a release is detected. ? ?1? (default) - an interrupt will be generated when a touch is detected and at the programmed repeat rate so long as the button is pressed. bit 1 - max_dur_en_g - determines whether the maximum duration recalibration is enabled for grouped sensors. ? ?0? (default) - the maximum duratio n recalibration functionality is disabled. a press may be held indefinitely and no re-calibration will be performed on any button. ? ?1? - the maximum duration recalibration functionalit y is enabled. if a press is held for longer than the max_dur_g bit settings, then the re-calibration routine will be restarted (see section 5.18 ). bit 0 - rpt_en_g - determines the interrupt mechanism used when a press and hold event is detected on a grouped sensor ? ?0? (default) - an interrupt will be generated when a press and hold event is detected. ? ?1? - an interrupt will be generated when a press an d hold event is detect ed and at the programmed repeat rate so long as the sensor is pressed. 5.15 sensor enable registers the sensor enable registers determine whether a capacitive touch sensor input is included in the sampling cycle. the length of the sampling cycle is not affected by the number of sensors measured. bit 7 - g_en - enables all capacitive touch sensors that are grouped to be included during the sampling cycle. ? ?0? - none of the the grouped sensors are includ ed in the sampling cycle. ? ?1? (default) - all of the grouped sensor s are included in the sampling cycle. bit 6 - s7_en - enables the cs7 input to be included durin g the sampling cycle. ? ?0? - the cs7 input is not included in the sampling cycle. ? ?1? - the cs7 input is included in the sampling cycle. bit 5 - s6_en - enables the cs6 input to be included durin g the sampling cycle. bit 4 - s5_en - enables the cs5 input to be included durin g the sampling cycle. bit 3 - s4_en - enables the cs4 input to be included durin g the sampling cycle. bit 2 - s3_en - enables the cs3 input to be included durin g the sampling cycle. table 5.21 sensor enable registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 21h r/w sensor enable g_en s7_en s 6_en s5_en s4_en s3_en s2_en s1_en ffh
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 46 smsc CAP1014 datasheet bit 1 - s2_en - enables the cs2 input to be included durin g the sampling cycle. bit 0 - s1_en - enables the cs1 input to be included durin g the sampling cycle. 5.16 button configuration register the button configuration register controls timings associated with the capacitive sensor channels 1 - 7 that are not grouped. bits 7 - 4 - max_dur_b [3:0] - (default 1010b) - determines the maximum time that a button is allowed to be pressed until the capacitive t ouch sensor is recalibrated as shown in ta b l e 5 . 2 3 . bits 3 - 0 - rpt_rate_b[3:0] - (default 0100b) determines the time duration between interrupt assertions when auto repeat is enabled. the reso lution is 35ms the range is from 35ms to 560ms as shown in ta b l e 5 . 2 4 . table 5.22 button configuration register addrr/w register b7 b6 b5b4b3b2b1b0default 22h r/w button configuration max_dur_b[3:0] rpt_rate_b[3:0] a4h table 5.23 max_dur_b and max_dur_g bit decode max_dur_b[3:0] a nd max_dur_g[3:0] time before recalibration 321 0 0 0 0 0 560ms 0 0 0 1 840ms 0 0 1 0 1120ms 0 0 1 1 1400ms 0 1 0 0 1680ms 0 1 0 1 2240ms 0 1 1 0 2800ms 0 1 1 1 3360ms 1 0 0 0 3920ms 1 0 0 1 4480ms 1 0 1 0 5600ms 1 0 1 1 6720ms 1 1 0 0 7840ms 1 1 0 1 8906ms 1 1 1 0 10080ms 1 1 1 1 11200ms
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 47 revision 1.65 (08-11-09) datasheet 5.17 group configuration register 1 bits 7-4 - rpt_rate_ph[3:0] - (default 0100b) determines the time duration between interrupt assertions when auto repeat is enabled. this setting applies when a press and hold condition is detected on the on the grouped sensors (see section 4.5.2 ). the resolution is 35ms the range is from 35ms to 560ms as shown in table 5.24 . bits 3- 0 - m_press[3:0] - (default 0111b) - dete rmines the minimum amount of time that a sensor in the group must detect a button press to detect a press and hold event. if the sensor detects a touch for longer th an the m_press[3:0] settings, then a press and hold event is detected. this has no affect on whether a slide is detec ted within the group. if a slide is de tected before or after the press has been confirmed, it is treated as a separate event. table 5.24 rpt_rate_b / sl / ph and m_press bit decode rpt_rate_b / rpt_rate_sl / rpt_rate_ph / m_press[3:0] interrupt repeat rate or m_press time 32 1 0 0 0 0 0 35ms 0 0 0 1 70ms 0 0 1 0 105ms 0 0 1 1 140ms 0 1 0 0 175ms 0 1 0 1 210ms 0 1 1 0 245ms 0 1 1 1 280ms 1 0 0 0 315ms 1 0 0 1 350ms 1 0 1 0 385ms 1 0 1 1 420ms 1 1 0 0 455ms 1 1 0 1 490ms 1 1 1 0 525ms 1 1 1 1 560ms table 5.25 group configuration register 1 addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 23h r/w group configuration 1 rpt_rate_ph[3:0] m_press[3:0] 47h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 48 smsc CAP1014 datasheet this is the maximum amount of time that a s ensor in the group can detect a button press to differentiate between a tap and a press and hold. if a sensor detects a touch for less than or equal to the m_press[3:0] sett ings then, a tap ev ent is detected. the resolution is 35ms the range is from 35ms to 560ms as shown in table 5.24 . 5.18 group configuration register 2 the group configuration 2 register controls timing s associated with the capa citive sensor channels 8 - 14 that are included in the group. bits 7 - 4 - max_dur_g [3:0] - (default 1101b) - determines the maximum time that a button is allowed to be pressed until the capacitive t ouch sensor is recalibrated as shown in ta b l e 5 . 2 3 . bits 3 - 0 - rpt_rate_sl[3:0] - (default 0100b) determines the time duration between interrupt assertions when auto repeat is enabled. this se tting applies when a slide is detected on the grouped sensors and acts as the base repeat rate th at is adjusted based on the slide speed (see section 4.5.3 ). the resolution is 35ms the range is from 35ms to 560ms as shown in table 5.24 . 5.19 calibration enable registers the calibration enable registers control whether the indicated capacitive touch sensor input is automatically re-calibrated. if a sensor is not enabled then the corresponding calibration enable bit is ignored. bit 7- g_cen - enables all sensors in the group to be re-calibrated simultaneously. ? ?0? - none of the grouped channels are automatica lly re-calibrated. they can be re-calibrated manually by setting the g_cal bit. ? ?1? (default) - all of the grouped channels are automatically re-calib rated as the CAP1014 samples. bit 6 - s7_cen - enables the cs7 input to be re-calibrated automatically. ? ?0? - the cs7 input is not automatically re-calibrated. ? ?1? (default) - the cs7 input is automatica lly re-calibrated as the CAP1014 samples. bit 5 - s6_cen - enables the cs6 input to be re-calibrated automatically. bit 4 - s5_cen - enables the cs5 input to be re-calibrated automatically. bit 3 - s4_cen - enables the cs4 input to be re-calibrated automatically. bit 2 - s3_cen - enables the cs3 input to be re-calibrated automatically. table 5.26 group configuration register 2 addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 24h r/w group configuration 2 max_dur_g[3:0] rpt_rate_sl[3:0] d4h table 5.27 calibration enable registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 25h r/w calibration enable g_ cen s7_ cen s6_ cen s5_ cen s4_ cen s3_ cen s2_ cen s1_ cen ffh
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 49 revision 1.65 (08-11-09) datasheet bit 1 - s2_cen - enables the cs2 input to be re-calibrated automatically. bit 0 - s1_cen - enables the cs1 input to be re-calibrated automatically. 5.20 calibration activate registers the calibration activate register force the respective sensors to be re-calibrated. when a bit is set, the corresponding capacitive touch sensor will be re-calibrated and the bit will be automatically cleared once the re-calibration routine has finished. during the re-calibration routine, the sensors will not detect a press for up to 600ms and the sensor base count register values will be invalid. during this time, any press on the corresponding sensors will invalidate the re-calibration. bit 7 - g_cal - when set, all sensors in the group ar e re-calibrated. this bit is automatically cleared once all of the sensors in the group have been re-calibrated successfully. bit 6 - s7_cal - when set, the cs7 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 5 - s6_cal - when set, the cs6 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 4 - s5_cal - when set, the cs5 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 3 - s4_cal - when set, the cs4 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 2 - s3_cal - when set, the cs3 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 1 - s2_cal - when set, the cs2 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 0 - s1_cal - when set, the cs1 input is re-calibrated. this bit is automatically cleared once the sensor has been re-calibrated successfully. 5.21 interrupt enable registers the interrupt enable registers determine whether a button press or gpio input changing state causes the interrupt pin to be asserted. table 5.28 calibration activate registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 26h r/w calibration activate g_ cal s7_ cal s6_ cal s5_ cal s4_ cal s3_ cal s2_ cal s1_ cal 00h table 5.29 interrupt enable registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 27h r/w interrupt enable 1 g_int_ en s7_int_ en s6_int_ en s5_int_ en s4_int_ en s3_int_ en s2_int _en s1_int_ en ffh 28h r/w interrupt enable 2 gpio8_ int_en gpio7_ int_en gpio6_ int_en gpio5_ int_en gpio4_ int_en gpio3_ int_en gpio2_ int_en gpio1_ int_en 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 50 smsc CAP1014 datasheet 5.21.1 interrupt enable 1 bit 7 - g_int_en - enables the interrupt pin to be asserted if a slide, tap, or press and hold action is detected on the grouped sensors. ? ?0? - the interrupt pin will not be asserted if a slide, tap, or press and hold action is detected on the grouped sensors (associated with the up, down, tap, and ph status bits). ? ?1? (default) - the interrupt pin will asserted if a s lide, tap, or press and hold event is detected on the grouped sensors (associated with the up, down, tap, and ph status bits). bit 6 - s7_int_en - enables the interrupt pin to be asserted if a touch is detected on cs7 (associated with the cs7 status bit). ? ?0? - the interrupt pin will not be asserted if a to uch is detected on cs7 (associated with the cs7 status bit). ? ?1? (default) - the interrupt pin will be asserted is detected on cs7 (associat ed with the cs7 status bit). bit 5 - s6_int_en - enables the interrupt pin to be asserted if a touch is detected on cs6 (associated with the cs6 status bit). bit 4 - s5_int_en - enables the interrupt pin to be asserted if a touch is detected on cs5 (associated with the cs5 status bit). bit 3 - s4_int_en - enables the interrupt pin to be asserted if a touch is detected on cs4 (associated with the cs4 status bit). bit 2 - s3_int_en - enables the interrupt pin to be asserted if a touch is detected on cs3 (associated with the cs3 status bit). bit 1 - s2_int_en - enables the interrupt pin to be asserted if a touch is detected on cs2 (associated with the cs2 status bit). bit 0 - s1_int_en - enables the interrupt pin to be asserted if a touch is detected on cs1 (associated with the cs1 status bit). 5.21.2 interrupt enable 2 these bits enable the interrupt pin to be a sserted when the gpiox status bit has been set. bit 7 - gpio8_int_en - enables the interrupt pin to be asserted if the gpio8 status bit has been set. ? ?0? - the interrupt pin will not be assert ed if the gpio8 status bit has been set. ? ?1? (default) - the interrupt pin will be asserted if the gpio8 status bit has been set. bit 6 - gpio7_int_en - enables the interrupt pin to be asserted if the gpio7 status bit has been set. bit 5 - gpio6_int_en - enables the interrupt pin to be asserted if the gpio6 status bit has been set. bit 4 - gpio5_int_en - enables the interrupt pin to be asserted if the gpio5 status bit has been set. bit 3 - gpio4_int_en - enables the interrupt pin to be asserted if the gpio4 status bit has been set. bit 2 - gpio3_int_en - enables the interrupt pin to be asserted if the gpio3 status bit has been set. bit 1 - gpio2_int_en - enables the interrupt pin to be asserted if the gpio2 status bit has been set. bit 0 - gpio1_int_en - enables the interrupt pin to be asserted if the gpio1 status bit has been set.
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 51 revision 1.65 (08-11-09) datasheet 5.22 sleep channel control register the sleep channel control register determine whic h sensors are sampled when the device is placed into sleep mode. application note: if this register is updated wh ile the device is in sleep mode , then the conversion cycle may be extended or for the first measurement of the new capacitive touch sensors. it will correct itself on subsequent measurement cycles. application note: if this register is updated whil e the device is in sleep mode, it is recommended that force a recalibration routine on newly activated channels. bit 7 - gr_sleep - enables the group ed sensors to be sampled when the device is placed into sleep mode. ? ?0? (default) - the grouped se nsors are not sampled when the device is in sleep mode ? ?1? - the grouped sensors are sampled when the device is in sleep mode. if a tap, slide, or touch and hold is detected then the appropriate st atus bit is set and an interrupt generated. bit 6 - s7_sleep - enables the cs7 sensor to be sampled when the device is placed into sleep mode. ? ?0? (default) - the cs7 input is not samp led when the device is in sleep mode ? ?1? - the cs7 input is sampled when the device is in sleep mode. if a touch is detected then the status bit is set and an interrupt generated. bit 5 - s6_sleep - enables the cs6 sensor to be sampled when the device is placed into sleep mode. bit 4 - s5_sleep - enables the cs5 sensor to be sampled when the device is placed into sleep mode. bit 3 - s4_sleep - enables the cs4 sensor to be sampled when the device is placed into sleep mode. bit 2 - s3_sleep - enables the cs3 sensor to be sampled when the device is placed into sleep mode. bit 1 - s2_sleep - enables the cs2 sensor to be sampled when the device is placed into sleep mode. bit 0 - s1_sleep - enables the cs1 sensor to be samp led when the device is placed into sleep mode. 5.23 multiple touch configuration register the multiple touch configuration regi ster controls the settin gs for the multiple t ouch detection circuitry. these settings determine the sensitivity of this detection and the CAP1014 device behavior. bit 7 - mult_blk_en - enables the multiple button blocking circuitry. table 5.30 sleep channel control addrr/wregister b7b6b5b4b3b2b1b0default 29h r/w sleep channel control gr_ sleep s7_ sleep s6_ sleep s5_ sleep s4_ sleep s3_ sleep s2_ sleep s1_ sleep 00h table 5.31 multiple touch configuration addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2ah r/w multiple touch config mult_ blk_ en - - - b_mult_t[1:0] g_mult_t[1:0] 82h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 52 smsc CAP1014 datasheet ? ?0? - the multiple touch circuitry is disabl ed. the device will not block multiple touches. ? ?1? (default)- the multiple touch circuitry is en abled. the device will accept the number of touches equal to programmed multiple touch threshold and block all others. it will remember which sensor is valid and block all others until that sensor has been released. bits 3 - 2 - b_mult_t[1:0] - determines the number of simultaneous touches on all buttons (excluding the grouped buttons) before a multiple touch event is flagged. if the number of multiple buttons touches is greater than the threshold value then a multiple touch event is flagged. the bit decode is given by ta b l e 5 . 3 2 . bits 1 - 0 - g_mult_t[1:0] - determines the number of simultaneous touches on all grouped buttons before a multiple touch event is flagged. if the number of multiple buttons touc hes is greater than the threshold value then a multiple touch even t is flagged. the bit decode is given by table 5.33 . 5.24 lid closure configuration register the lid closure configuration register controls th e settings for the lid closure detection circuitry. bit 7 - lid_close - enables the lid closure circuitry. ? ?0? (default) - the lid closure circuitry is disabled. table 5.32 b_mult_t bit decode b_mult_t[1:0] number of simultaneous touches 10 0 0 1 (default) 01 2 10 3 11 4 table 5.33 g_mult_t bit decode g_mult_t[1:0] number of simultaneous touches 10 00 2 01 3 1 0 4 (default) 11 5 table 5.34 lid closure configuration addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2bh r/w lid closure config lid_ close ----- comp_ ptrn lid_ alrt 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 53 revision 1.65 (08-11-09) datasheet ? ?1? the lid closure circuitry is enabled. the devi ce will use the lid closur e status registers in combination with the lid closure pattern register settings to determine when a lid closure event is flagged. in addition, the noise status bits are associated with lid closure. bit 1 - comp_ptrn - determines how the lid closure status registers are compared against the lid closure pattern registers. see section 5.26, "lid closure pattern registers" for details on how the lid closure pattern registers are used. ? ?0? (default) - the lid closure status registers ar e not compared directly against the lid closure pattern registers. instead, the number of bits in the lid closure status registers is compared to the number of bits in the lid closure pattern regi sters to determine whether a lid closure event is flagged. ? ?1? - the lid closure status registers are compared directly against the lid closure pattern registers. if the bits set in the lid closure pattern are also set in the lid status registers, then a lid closure event is flagged. bit 0 - lid_alrt - enables an interrupt if a lid closure event occurs. ? ?0? (default) - if a lid closure event occurs, the alert pin is not asserted. ? ?1? - if a lid closure event occurs, the alert pin will be asserted. 5.25 lid closure queue control register the lid closure queue control register determines the number of consecutive samples for which a single sensor output is above the lid closure threshold before it is flagged. a value of 0000b is decoded as 1. bits 2 - 0 - queue_b[2:0] - the number of consec utive samples from an individual sensor necessary to set the lid closure status bit associated with the sensor. the queue applies individually to all sensors (including both buttons and grouped sensors) and applies to setting and clearing the respective status bit. defaul t is 2 consecutive samples. 5.26 lid closure pattern registers the lid closure pattern registers act as a pattern to identify an expected sensor profile that is consistent with lid closure. they are onl y used when lid closure is enabled (see section 5.24, "lid closure configuration register" ). there are two methods for how the lid closure status registers are used with the lid closure pattern registers: as sp ecific sensors that must exceed the lid closure threshold or as the number of s ensors that must exceed the lid closure threshold. which method is table 5.35 lid closure queue control register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2ch r/w lid closure queue control - - - - - queue_l_b[2:0] 02h table 5.36 lid closure pattern registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2dh r/w lid closure pattern 1 - s7_lm s6_lm s5_lm s4_lm s3_lm s2_lm s1_lm 7fh 2eh r/w lid closure pattern 2 s14_lm s13_lm s12_lm s11_lm s10_lm s9_lm s8_lm 7fh
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 54 smsc CAP1014 datasheet used is based on bit 1 in the lid closure confi guration register. the methods are described below. a lid closure event is flagged in the group status register (see section 5.10, "group status register" ). 1. specific sensors: if the bits set in the lid closu re pattern are also set in the lid status registers, then a lid closure event is flagged. 2. number of sensors: the number of bits in the lid closure status registers is compared to the number of bits in the lid closure pattern regist ers to determine whether a lid closure event is flagged. if any one of the conditions below is met, the lid closure event is flagged. ? if the number of bits in lid closure status 1 re gister equals or exceeds the number of bits in the lid closure pattern 1 register, a lid closure event is flagged. in other words, if the number of simultaneous sensors 1-7 exceeding the lid closure threshold meets or exceeds the number of bits in the lid closure pattern 1 register, a lid closure event is flagged. ? if the number of bits in lid closure status 2 re gister equals or exceeds the number of bits in the lid closure pattern 2 register, a lid closure event is flagged. in other words, if the number of simultaneous grouped sensors 8-14 exceedi ng the lid closure threshold meets or exceeds the number of bits in the lid closure pattern 2 register, a lid closure event is flagged. ? if the total number of bits in both the lid clo sure status 1 and 2 registers equals or exceeds the total number of bits in both the lid closure pattern 1 and 2 registers, a lid closure event is flagged. in other words, if the total number of sensors above the lid closure threshold is greater than or equal to the nu mber of sensors required for both lid closure patterns, a lid closure event is flagged. 5.27 recalibration configuration register the recalibration configuration regi ster controls the autom atic re-calibration routine settings as well as advanced controls to program the sensor threshold register settings. bit 7 - but_ld_th - enables setting all button sensor threshold registers by writing to the sensor 1 threshold register. ? ?0? - each sensor x threshold register is updated individually. ? ?1? (default) - writing the sensor 1 threshold re gister will automatically overwrite the sensor threshold registers for all buttons (sensor threshold 1 through sensor threshold 7). the individual sensor x threshold registers (sensor 2 threshold through sensor 7 threshold) can be individually updated at any time. bit 6 - gp_ld_th - enables setting the group threshol d register by writing to the sensor 1 threshold register. ? ?0? (default) - the group threshold register is updated independently of the sensor 1 threshold register. ? ?1? - writing the sensor 1 threshold register auto matically overwrites the group threshold register settings. bits 4-3 - acal_rt[1:0] - determines the number of retries the digital logic will perform on the analog calibration routine before it accepts the previous setting. table 5.37 recalibration configuration registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2fh r/w recalibration configuration but_ ld_th gp_ ld_th - acal_rt[1:0] cal_cfg[2:0] 93h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 55 revision 1.65 (08-11-09) datasheet bits 2 - 0 - cal_cfg[2:0] - determines the update ti me and number of samples of the automatic re- calibration routine. the settings applies to all s ensors universally (though individual sensors and the group can be configured to support re-calibration - see section 5.19 ). note 5.1 recalibration samples refers to the number of samples that are measured and averaged before the base count is updated. note 5.2 update time refers to the amount of time (i n polling cycle periods) that elapses before the base count is updated. 5.28 sensor threshold registers table 5.38 acal_rt[1:0] bit decode acal_rt[1:0] analog calibrat ion retries 10 0 0 infinite 01 1 1 0 3 (default) 11 7 table 5.39 cal_cfg bit decode cal_cfg[2:0] recalibration samples (see note 5.1 ) update time (see note 5.2 ) 210 0 0 0 16 16 001 32 32 010 64 64 0 1 1 256 256 (default) 1 0 0 256 1024 1 0 1 256 2048 1 1 0 256 4096 1 1 1 256 7936 table 5.40 sensor threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 30h r/w sensor 1 threshold -6432168421 40h 31h r/w sensor 2 threshold -6432168421 40h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 56 smsc CAP1014 datasheet the sensor threshold registers store the delta thresh old that is used to determine if a touch has been detected. when a touch occurs, the input signal of the corresponding sensor changes due to the capacitance associated with a touch. if the sensor input change exceeds the threshold settings, then a touch is detected. when the but_ld_th bit is set (see section 5.27 - bit 7), writing data to the sensor 1 threshold register will update all of the button th reshold registers (31h - 36h inclusive). when the gp_ld_th bit is set (see section 5.27 - bit 6), writing data to the sensor 1 threshold register (30h) will update the group threshold register (37h). individual button registers may be updated independently of the sensor 1 threshold settings. 5.29 button noise threshold registers the button noise threshold registers control the value of a secondary internal threshold to detect noise and improve the automatic recalibration routine. if a capacitive touch sensor output exceeds the button noise threshold but does not exceed the sensor threshold, then it is determined to be caused by a noise spike. that sample is no t used by the automatic re-calibration routine. the button noise threshold is proportional to the programmed threshold as shown in table 5.42 . 32h r/w sensor 3 threshold -6432168421 40h 33h r/w sensor 4 threshold -6432168421 40h 34h r/w sensor 5 threshold -6432168421 40h 35h r/w sensor 6 threshold -6432168421 40h 36h r/w sensor 7 threshold -6432168421 40h 37h r/w group threshold -6432168421 40h table 5.41 button noise threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 38h r/w button noise threshold 1 cs4_bn_th [1:0] cs3_bn_th [1:0] cs2_bn_th [1:0] cs1_bn_th [1:0] 55h 39h r/w button noise threshold 2 gr_bn_th [1:0] cs7_bn_th [1:0] cs6_bn_th [1:0] cs5_bn_th [1:0] 55h table 5.40 sensor threshold registers (continued) addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 57 revision 1.65 (08-11-09) datasheet 5.29.1 button noise threshold 1 register the button noise threshold 1 register controls the noise threshold for capacitive touch sensors 1-4. bits 7-6 - ch4_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 4. bits 5-4 - ch3_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 3. bits 3-2 - ch2_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 2. bits 1-0 - ch1_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 1. 5.29.2 button noise threshold 2 register the button noise threshold 2 register controls the noise threshold for capacitive touch sensors 5 - 7 and the grouped sensors. bits 7-6 - gr_bn_th[1:0] - controls the noise threshold for all grouped capacitive touch sensors. bits 5-4 - ch7_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 7. bits 3-2 - ch6_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 6. bits 1-0 - ch5_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 5. 5.30 lid closure threshold registers the lid closure threshold registers control the val ue of a secondary internal threshold to detect noise potentially generated by lid closure. if a capaciti ve touch sensor output exceeds the lid closure table 5.42 csx_bn_th bit decode csx_bn_th[1:0] threshold divide setting 10 0 0 6.25% 0 1 12.5% (default) 1025% 1150% table 5.43 lid closure threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 3ah r/w lid closure threshold 1 cs4_ld_th [1:0] cs3_ld_th [1:0] cs2_ld_th [1:0] cs1_ld_th [1:0] aah 3bh r/w lid closure threshold 2 cs8_ld_th [1:0] cs7_ld_th [1:0] cs6_ld_th [1:0] cs5_ld_th [1:0] aah 3ch r/w lid closure threshold 3 cs12_ld_th [1:0] cs11_ld_th [1:0] cs10_ld_th [1:0] cs9_ld_th [1:0] aah 3dh r/w lid closure threshold 4 ---- cs14_ld_th [1:0] cs13_ld_th [1:0] 0ah
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 58 smsc CAP1014 datasheet threshold, the appropriate status bit is set in the lid closure status register (see section 5.8, "lid closure status registers" ). the lid closure threshold is proportional to the programmed sensor threshold as shown in table 5.42 . 5.30.1 lid closure threshold 1 register the lid closure threshold 1 register controls the lid closure threshold for capacitive touch sensors 1-4. bits 7-6 - cs4_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 4. bits 5-4 - cs3_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 3. bits 3-2 - cs2_ld_th[1:0] - controls the no ise threshold for capacitive touch sensor 2. bits 1-0 - cs1_ld_th[1:0] - controls the no ise threshold for capacitive touch sensor 1. 5.30.2 lid closure threshold 2 register the lid closure threshold 2 register controls the lid closure threshold for capacitive touch sensors 5 - 8. bits 7-6 - cs8_ld_th[1:0] - contro ls the lid closure threshold for capacitive touch sensor 8 (one of the grouped sensors). bits 5-4 - cs7_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 7. bits 3-2 - cs6_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 6. bits 1-0 - cs5_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 5. 5.30.3 lid closure threshold 3 register the lid closure threshold 3 register controls the lid closure threshold for capacitive touch sensors 9 - 12. bits 7-6 - cs12_ld_th[1:0] - controls the lid clos ure threshold for capacitive touch sensor 12 (one of the grouped sensors). bits 5-4 - cs11_ld_th[1:0] - controls the lid closure threshold for capacitive touch sensor 11 (one of the grouped sensors). bits 3-2 - cs10_ld_th[1:0] - controls the lid clos ure threshold for capacitive touch sensor 10 (one of the grouped sensors). table 5.44 csx_ld_th bit decode csx_ld_th[1:0] threshold divide setting 10 0 0 6.25% 0112.5% 1 0 25% (default) 1150%
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 59 revision 1.65 (08-11-09) datasheet bits 1-0 - cs9_ld_th[1:0] - contro ls the lid closure threshold for capacitive touch sensor 9 (one of the grouped sensors). 5.30.4 lid closure threshold 4 register the lid closure threshold 4 register controls the lid closure threshold for capacitive touch sensors 13 - 14. bits 3-2 - cs14_ld_th[1:0] - controls the lid clos ure threshold for capacitive touch sensor 14 (one of the grouped sensors). bits 1-0 - cs13_ld_th[1:0] - controls the lid clos ure threshold for capacitive touch sensor 13 (one of the grouped sensors). 5.31 slider velocity configuration register the slider velocity configuration register also co ntrols the speed sensitive behaviors of the slider, allowing the number of interrupts to be increased as the slide speed increases bit 7 - acc_int_en - enables the device to generate extra interrupts after an accelerated slide has been detected. ? ?0? - the device will not generate extra interrupts during or after the slide has been detected. ? ?1? (default) - the device will generate extra interrup ts after an accelerated slide is detected. the number of extra interrupts gener ated will be proportional to the speed of the accelerated slide but will not exceed the maximum number of extra interrupts as determined by the max_int bits. bits 6-4 - max_int[2:0] - (default 100b) determine the maximum number of ex tra interrupts that will be generated after a single slide (regardless of length ). the variable ?t? is the actual slide time and the parameter slide_time is set by bits [3:2] of this register. table 5.45 slider velocity configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 3eh r/w slider velocity configuration acc_ int_en max_int[2:0] slide_time [1:0] rpt_scale [1:0] c5h table 5.46 max_int bit decode max_int[2:0] max # interrupts # interrupts for t < 1/2 slide_time # interrupts for 1/2 < t < 3/4 slide_time # interrupts for 3/4 < t < full slide_time 21 0 00 0 0 0 0 0 00 1 1 1 0 0 01 0 2 2 1 0 01 1 3 3 1 0 10 0 4 4 2 1 10 1 5 5 2 1 11 0 6 6 3 1 11 1 7 7 3 1
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 60 smsc CAP1014 datasheet bits 3-2 - slide_time[1:0] - (default 01b) - determi nes how fast a slide must be to generate extra interrupts. this is the maximum slide time that will re sult in extra interrupts being generated. if the slide time is greater than slide_time, no extra interrupts will be generated. bits 1 - 0 - rpt_scale[1:0] - (default 01b) - determines how much to increase the repeat rate based on slide speed. the slide speed is determi ned by counting how many sensors are touched in approximately 100msec. the repeat rate is then increased various amounts based on the rpt_scale parameter. when read in ta b l e 5 . 4 8 , the repeat rate given is the nu mber of measurem ent cycles between interrupts generated. note 5.3 if the repeat rate for the slider is set at 105msec or lower, then the 11b case will use the fixed values of 140, 105 and 70msec, respectively. 5.32 sampling configuration register table 5.47 slide_time bit decode slide_time[1:0] approximate slide time (msec) 10 0 0 350 0 1 560 (default) 1 0 770 1 1 980 table 5.48 rpt_scale bit decode number of sensors in 100msec repeat rate (msec) rpt_scale[1:0] 00 01 10 11 >=5 35 35 35 35 435353570 3353570105 2 35 70 105 140 1 rpt_rate_sl table 5.49 sampling configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 4fh r/w sampling configuration - - - - - oversamp_rate[2:0] 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 61 revision 1.65 (08-11-09) datasheet the sampling configuration register controls the length of the sampling window of selected captive touch sensor channels as indicated in the sampling channel select register. increasing the sampling window time will have two effects. the first effect will be to increase the effective sensitivity of that pa rticular channel so that a touch may be detected with a smaller c or to allow for degrees of proximity detection. however, at the larger sampling times, the resolution of the measurement is reduced. the second effect will be increase the overall round r obin rate (and all timing associated with the round robin rate such as re-calibra tion times, repeat rate times, and maximum duration times). all capacitive touch sensors default to a sampling time of 2.5ms. increasing the sampling time of any single channel will increase the overall polling cycle by the same amount. bits 2 - 0 - oversamp_rate[2:0] - determine the sample window of all selected sensors. 5.33 sensor base count registers table 5.50 sensor base count registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 50h r sensor 1 base count 128 64 32 16 8 4 2 1 00h 51h r sensor 2 base count 128 64 32 16 8 4 2 1 00h 52h r sensor 3 base count 128 64 32 16 8 4 2 1 00h 53h r sensor 4 base count 128 64 32 16 8 4 2 1 00h 54h r sensor 5 base count 128 64 32 16 8 4 2 1 00h 55h r sensor 6 base count 128 64 32 16 8 4 2 1 00h 56h r sensor 7 base count 128 64 32 16 8 4 2 1 00h 57h r sensor 8 base count 128 64 32 16 8 4 2 1 00h 58h r sensor 9 base count 128 64 32 16 8 4 2 1 00h 59h r sensor 10 base count 128 64 32 16 8 4 2 1 00h 5ah r sensor 11 base count 128 64 32 16 8 4 2 1 00h 5bh r sensor 12 base count 128 64 32 16 8 4 2 1 00h 5ch r sensor 13 base count 128 64 32 16 8 4 2 1 00h 5dh r sensor 14 base count 128 64 32 16 8 4 2 1 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 62 smsc CAP1014 datasheet the sensor base count registers store the calibra ted ?not touched? input value from the capacitive touch sensor inputs. these registers are periodi cally updated by the re-calibration routine. the routine uses an internal adder to add the current count value for each reading to the sum of the previous readings until sample size has been reac hed. at this point, the upper 16 bits are taken and used as the sensor base count. the internal adder is then reset and the re-calibration routine continues. the data presented is determined by the c_dsp bits (see section 5.13 ). 5.34 led / gpio direction registers the led / gpio direction registers control the data flow direction for the led / gpio pins. each pin is controlled by a single bit. bit 7 - led8_dir - controls the direction of the led8 / gpio8 pin. ? ?0? (default) - the led8 / gpio8 pin is configured as an input and cannot be used to drive an led. ? ?1? - the led8 / gpio8 pin is configured as an output. bit 6 - led7_dir - controls the direction of the led7 / gpio7 pin. bit 5 - led6_dir - controls the direction of the led6 / gpio6 pin. bit 4 - led5_dir - controls the direction of the led5 / gpio5 pin. bit 3 - led4_dir - controls the direction of the led4 / gpio4 pin. bit 2 - led3_dir - controls the direction of the led3 / gpio3 pin. bit 1 - led2_dir - controls the direction of the led2 / gpio2 pin. bit 0 - led1_dir - controls the direction of the led1 / gpio1 pin. 5.35 led / gpio output type registers the led / gpio output type regist ers control the type of output for the ledx / gpiox pins that are configured to operate as outputs. each pin is controlled by a single bit. ? ?0? (default) - the ledx / gpiox pin is an open-dr ain output with an external pull-up resistor. when the appropriate pin is set to the ?active? state (logi c ?1?) then the pin will be driven low. conversely, when the pin is set to the ?inactive? state (logic ?0?, then the pin will be left in a high z state and pulled high via an external pull-up resistor. table 5.51 led / gpio direction registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 70h r/w led / gpio direction led8_ dir led7_ dir led6_ dir led5_ dir led4_ dir led3_ dir led2_ dir led1_ dir 00h table 5.52 led / gpio output type registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 71h r/w led / gpio output type 1 led8_ ot led8_ ot led6_ ot led5_ ot led4_ ot led3_ ot led2_ ot led1_ ot 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 63 revision 1.65 (08-11-09) datasheet ? ?1? - the ledx / gpiox pin is a push-pull output. when driving a logic ?1? the pin is driven high. when driving a logic ?0? the pin is driven low. 5.36 gpio input register the gpio input registers reflect t he state of the ledx / gpiox pins . these bits are updated whenever the pin state changes regardless of the operation of the pin. if a ledx / gpiox pin is configured as an input, then when a pin changes states, the gpiox_ sts bit is set. if the corresponding interrupt enable bit is also set, then an interrupt will be asserted. 5.37 led output control registers the led output control registers control the output state of the led pins when they are configured as outputs. for all led outputs, th e ?active? state is with the output driven low and the disabled state is with the output in a high z state (or driven high). these bits are or?d with the individual control bits defined in the led control register (see section 5.37 ). all leds that are associated with a capacitive touch sensor channel are automatically enabled and will be actuated per the led behavior (if enabled as outputs - see section 5.34 ). for those leds that are associated with a dual-colo r led outputs, then the inactive state indicates that the led connected between the drive pin and ground will be on. likewise, the active state indicates that the led connected be tween vdd and the drive in will be on. for those leds that are not linked with a capaci tive touch sensor channel, then the bit state determines whether the led is active (or breathing - see section 5.40 ) or inactive. 5.37.1 led output control 1 bit 7 - led8_dr - determines whether the led8 output is driven high or low. this led cannot be linked to a capacitive touch sensor. ? ?0? (default) - the led8 output is driven low. ? ?1? - the led8 output is high z or driven high. bit 6 - led7_dr - determines whether led7 output is driven high or low. ? ?0? (default) - the led7 output is driven low. ? ?1? - the led7 output is high z or driven high. bit 5 - led6_dr - determines whether led6 output is driven high or low. table 5.53 gpio input register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 72h r gpio input gpio8 gpio7 gpio6 gpio5 gpio4 gpio3 gpio2 gpio1 00h table 5.54 led output control registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 73h r/w led output control 1 led8_ dr led7_ dr led6_ dr led5_ dr led4_ dr led3_ dr led2_ dr led1_ dr 00h 74h r/w led output control 2 led11_ dr led10_ dr led9_ dr 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 64 smsc CAP1014 datasheet bit 4 - led5_dr - determines whether led5 output is driven high or low. bit 3 - led4_dr - determines whether led4 output is driven high or low. bit 2 - led3_dr - determines whether led3 output is driven high or low. bit 1 - led2_dr - determines whether led2 output is driven high or low. bit 0 - led1_dr - determines whether led1 output is driven high or low. 5.37.2 led output control 2 bit 2 - led11_dr - determines whether led11 is active or not. this led cannot be linked to a capacitive touch sensor. ? ?0? (default) - the led11 output is in high z and led will be inactive. ? ?1? - the led11 output is driven low and the led will be active. bit 1 - led10_dr - determines whether led10 is acti ve or not. if this led is linked to the group of sensors, then led9 is automatically linked to the group if sensors. ? ?0? (default) - the led10 output is in high z and led will be inactive. if linked to the group of capacitive touch sensors, then it will remain inactive when actuated. ? ?1? - the led10 output is driven low and the led will be active. if linked to group of capacitive touch sensors, it will be in high-z until it is actuat ed. at this point it will be driven low and the led will be active. bit 0 - led9_dr - determines whether led9 is active or not. ? ?0? (default) - the led9 output is in high z and led will be inactive. if linked to the group of capacitive touch sensors, then it will remain inactive when actuated. ? ?1? - the led9 output is driven low and the led will be active. if linked to group of capacitive touch sensors, it will be in high-z until it is actuat ed. at this point it will be driven low and the led will be active. 5.38 led polarity registers the led polarity registers control the logical polarity of the led outputs. application note: the polarity controls determine the final led pi n drive. a touch on a linked capacitive touch sensor is treated in the same way as the led output control bit being set to a logic ?1?. application note: for led operation, the duty cycle settings dete rmine the % of time that the led pin will be driven to a logic ?1? state in a non-inverted system or to a logic ?0? state in an inverted system. the duty cycle settings operate independently of the polarity controls. therefore, the max duty cycle settings define the maximum % of time that the led pin will be driven high in a non-inverted system while the min duty cycle settings determine the minimum % of time that the led pin will be driven high in a non-inverted system. table 5.55 led polarity registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 75h r/w led polarity 1 led8_ pol led7_ pol led6_ pol led5_ pol led4_ pol led3_ pol led2_ pol led1_ pol 00h 76h r/w led polarity 2 ----- led11_ pol led10_ pol led9_ pol 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 65 revision 1.65 (08-11-09) datasheet the led drive assumes that the leds are confi gured such that if the led pin is driven to a logic ?0? then the led will be on and that t he CAP1014 led pin is sinking the led current. conversely, if the led pin is driven to a logic ?1? then the led will be off and there is no current flow. finally, the breathe operations will always ramp the duty cycle from the minimum duty cycle to the maximum duty cycle and then back down to the minimum duty cycle. the led polarity controls lead to two conditio ns that have the apparent effect of changing the duty cycle settings. if an led output is non-inverted then the maximum duty cycle settings will define the maximum % of time that the led is off . conversely the minimum duty cycle settings will define the mi nimum % of time that the led is off . as well, when there is no touch detected or the led output control register bit is at a logic ?0? then the led output will be driven at the minimum duty cycle setting. the relative brightness will then ramp from maximum to minimum and back. if an led output is inverted, then the maximum duty cycle settings will define the maximum % of time that the led is off and the minimum duty cycle settings will determine the minimum % of time that the led is on . as well, when there is no touch detected, or the led output control register bit is at a logic ?0?, then the led output will be driven at the minimum duty cycle setting. the relative brightness wil l then ramp from mi nimum to maximum and back. table 5.56, "led polarity behavior" shows the interaction between the polarity controls, output controls and relative brightness. note 5.4 for example when polarity is non-inverted, if min duty cycle is 0, then the led would be at logic 1 (off) 0% of the time. it will be at logic 0 (on), 100% of the time (100 - min duty cycle). 5.38.1 led polarity 1 bit 7 - led8_pol - determines the polarity of the led8 output. ? ?0? - the led8 output is inverted. a setting of ?1? in the led 8 output regist er will cause the output to be driven to a logic ?0? as determined by the led behavior. similarly, the duty cycles corresponding to pulse 1, pulse 2, and breathe opera tions will indicate the amount of time that the led is driven to a logic ?0? state (corresponding to ?active?). table 5.56 led polarity behavior led output control register polarity max duty min duty led behaviors brightness led appearance 0 inverted maximum % of time that the led is on (logic 0) minimum % of time that the led is on (logic 0) off maximum brightness at minimum duty cycle on at minimum duty cycle 1 inverted maximum % of time that the led is on (logic 0) minimum % of time that the led is on (logic 0) on maximum brightness at max duty cycle. brightness ramps from min to max according to led behavior 0 non- inverted maximum % of time that the led is off (logic 1) minimum % of time that the led is off (logic 1) off maximum brightness at 100 - min duty cycle on at 100 - min duty cycle ( note 5.4 ) 1 non- inverted maximum % of time that the led is off (logic 1) minimum % of time that the led is off (logic 1) on maximum brightness at 100 - min duty cycle. brightness ramps from max to min according to led behavior
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 66 smsc CAP1014 datasheet ? ?1? - the led8 output is direct. a setting of ?1? in the led 8 output regi ster will cause the output to be driven to a logic ?1? or left in the high-z state as determined by its output type and led behavior. similarly, the duty cycles corresponding to pulse 1, pulse 2, and breathe operations will indicate to the amount of time t hat the led is driven to a logic ?1? state (corresponding to ?inactive?). bit 6 - led7_pol - determines the polarity of the led7 output. bit 5 - led6_pol - determines the polarity of the led6 output. bit 4 - led5_pol - determines the polarity of the led5 output. bit 3 - led4_pol - determines the polarity of the led4 output. bit 2 - led3_pol - determines the polarity of the led3 output. bit 1 - led2_pol - determines the polarity of the led2 output. bit 0 - led1_pol - determines the polarity of the led1 output. 5.38.2 led polarity 2 bit 2 - led11_pol - determines the polarity of the led11 output. ? ?0? (default) - the led11 output is inverted. a setti ng of ?1? in the led 11 output register will cause the output to be driven to a logic ?0? as determined by the led behavior. similarly, the duty cycles corresponding to pulse 1, pulse 2, and breathe opera tions will indicate the amount of time that the led is driven to a logic ?0? state (corresponding to ?active?). ? ?1? - the led11 output is direct. a setting of ?1? in the led 11 output register will cause the output to be driven to a logic ?1? or left in the high-z state as determined by its output type and led behavior. similarly, the duty cycles corresponding to pulse 1, pulse 2, and breathe operations will indicate to the amount of time t hat the led is driven to a logic ?1? state (corresponding to ?inactive?). bit 1 - led10_pol - determines the polarity of the led10 output. bit 0 - led9_pol - determines the polarity of the led9 output. 5.39 sensor led linking registers the sensor led linking registers control whether a capacitive touch sensor is linked to an led output or not. if the corresponding bit is set, then the appropriate led output will change states defined by the led behavior controls (see section 5.40 ) in response to the capacitive touch sensor. if the led channel is configured as an input, then t he corresponding sensor led linking bit is ignored. bit 7 - up_down_link - links the led10 output to a detected up condition on the group including a slide in the ?up? direction, a tap on the ?up? si de of the group or a press and hold condition on the ?up? side of the group. the led10 driver w ill be actuated and will behave as determined by the led10_ctl bits. this bit also links the led9 output to a detected down condition on the group including a slide in the ?down? direction, a tap on the ?down? side of the group or a press and hold condition on the ?down? side of the group. the led9 driver will be actuated and will behave as determined by the led9_ctl bits. table 5.57 sensor led linking registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 80h r/w sensor led linking up_ down llink cs7_ led7 cs6_ led6 cs5_ led5 cs4_ led4 cs3_ led3 cs2_ led2 cs1_ led1 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 67 revision 1.65 (08-11-09) datasheet led9 and led10 will not be active simultaneously. if led9 is actuated by det ecting a slide, tap, or press and hold event, led10 will be inactive. likewise , if led10 is actuated by detecting a slide, tap, or press and hold event, led9 will be inactive. bit 6 - cs7_led7 - links the led7 output to a detected touch on the cs7 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. ? ?0? - the led7 output is not associated with a the cs7 input. if a touch is detected on the cs7 input, then the led will not autom atically be actuated . the led is enabled and controlled via the led output configurat ion register (see section 5.37 ) and the led behavior registers (see section 5.40 ). ? ?1? - the led 7 output is associated with the cs7 in put. if a touch is de tected on the cs7 input then the led will be actuated and behave as defined in ta b l e 5 . 5 9 . furthermore, the led will automatically be enabled. bit 5 - cs6_led6 - links the led6 output to a detected touch on the cs6 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. bit 4 - cs5_led5 - links the led5 output to a detected touch on the cs5 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. bit 4 - cs4_led4 - links the led4 output to a detected touch on the cs4 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. bit 2 - cs3_led3 - links the led3 output to a detected touch on the cs3 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. bit 1 - cs2_led2 - links the led2 output to a detected touch on the cs2 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. bit 0 - cs1_led1 - links the led1 output to a detected touch on the cs1 sensor. when a touch is detected, the led is actuated and will behave as determined by the led behavior controls. 5.40 led behavior registers the led behavior registers control the operation of leds. each ledx / gpiox pin is controlled by a 2-bit field. if the ledx / gpiox pin is conf igured as an input, then these bits are ignored. if the corresponding led output is linked to a capaci tive touch sensor than the start and stop triggers are used. the defined behavior will activate when the start trigger is met and will stop when the stop trigger is met. see table 5.59 and note the behavior of the breat he hold and pulse release option. if the led output is not associat ed with a capacitive touch sensor , then two available options are direct and breathe. in this case, the start and stop triggers are ignored and the output of the led is activated exclusively by the bi t state of the control signals. application note: the led polarity control register will determi ne the non actuated state of the led outputs. if the led polarity control register is set to be inverted (default), then an non actuated led pin will be driven to a logic ?1? state and the led will be off. if the led polarity control register is set to be non-inve rted, then the non actuated led pin will be driven to the logic ?0? state and the led will be on. table 5.58 led behavior registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 81h r/w led behavior 1 led4_ctl[1:0] led3_ctl[1:0] led2_ctl[1:0] led1_ctl[1:0] 00h 82h r/w led behavior 2 led8_ctl[1:0] led7_ctl[1:0] led6_ctl[1:0] led5_ctl[1:0] 00h 83h r/w led behavior 3 led11_alt [1:0] led11_ctl [1:0] led10_ctl [1:0] led9_ctl[1:0] 00h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 68 smsc CAP1014 datasheet 5.40.1 led behavior 1 - 81h bits 7 - 6 - led4_ctl[1:0] - determines the behav ior of led4 / gpio4 when configured to operate as an led output bits 5 - 4 - led3_ctl[1:0] - determines the behav ior of led3 / gpio3 when configured to operate as an led output bits 3 - 2 - led2_ctl[1:0] - determines the behav ior of led2 / gpio2 when configured to operate as an led output bits 1 - 0 - led1_ctl[1:0] - determines the behav ior of led1 / gpio1 when configured to operate as an led output 5.40.2 led behavior 2 - 82h bits 7 - 6 - led8_ctl[1:0] - determines the behav ior of led8 / gpio8 when configured to operate as an led output bits 5 - 4 - led7_ctl[1:0] - determines the behav ior of led7 / gpio7 when configured to operate as an led output bits 3 - 2 - led6_ctl[1:0] - determines the behav ior of led6 / gpio6 when configured to operate as an led output bits 1 - 0 - led5_ctl[1:0] - determines the behav ior of led5 / gpio5 when configured to operate as an led output 5.40.3 led behavior 3 - 83h bits 7 - 6 - led11_alt[1:0] - determines the behav ior of led 11 when the pwr_led bit is set and either the sleep or dsleep bits are set (see section 5.1 ). bits 5 - 4 - led11_ctl[1:0] - determines the behavior of led11 when the pwr_led bit is set and both the sleep and dsleep bits are not set (see section 5.1 ). bits 3 - 2 - led10_ctl[1:0] - determines the behavior of led10. bits 1 - 0 - led9_ctl[1:0] - determines the behavior of led9. application note: when driving the led / gpiox ou tput as a gpo, the ledx_ctl[1:0] bits should be set to 00b. table 5.59 ledx_ctl bit decode ledx_ctl [1:0] operation - linked with sensor operation - not linked with sensor description start trigger stop trigger 10 0 0 direct direct the led is driven to the programmed state (active or inactive). press detected release detected 01 pulse press (pulse 1) direct the led will breathe 5 times starting based on the start trigger). the total period of each ?breath? is determined by the led pulse 1 period controls - see section 5.41 press detected n/a
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 69 revision 1.65 (08-11-09) datasheet application note: the pwm frequency is determined based on the selected led behavior, the programmed breathe period , and the programmed min and max duty cycles. for the direct mode, the pwm frequency is calculated based on the pr ogrammed rise and fall times. if these area set at 0, then the maximum pwm frequency will be used based on the programmed duty cycle settings. 5.41 led pulse 1 period register the led pulse 1 period register determines the ov erall period of a pulse operation as determined by the led_ctl registers (see ta b l e 5 . 5 9 - setting 01b). each lsb represents 32ms so that a setting of 14h (20d) would represent a period of 640ms. the to tal range is from 32ms to 4.06 seconds as shown in ta b l e 5 . 6 1 . the pulse 1 operation is shown in figure 5.1 (non-inverted polarity) and figure 5.2 (inverted polarity). 10 breathe hold + pulse release (pulse 2) breathe the led will breathe continuously while the corresponding sensor detects a press. when the sensor detects a release, it will breathe 5 additional times and then stop. the total period of each ?breath? is determined by the led pulse 2 period controls - see section 5.42 . press detected release detected 1 1 breathe breathe the led will breathe. it will be driven with a duty cycle th at ramps up from the programmed minimum duty cycle (default 0%) to the programmed maximum duty cycle duty cycle and then back down. each ramp takes up 50% of the programmed period. the total period of each ?breath? is determined by the led breathe period controls - see section 5.43 . press detected release detected table 5.60 led behavior registers addrr/w register b7 b6b5b4b3b2 b1 b0default 84h r/w led pulse 1 period - p1_ per6 p1_ per5 p1_ per4 p1_ per3 p1_ per2 p1_ per1 p1_ per0 20h table 5.59 ledx_ctl bit decode (continued) ledx_ctl [1:0] operation - linked with sensor operation - not linked with sensor description start trigger stop trigger 10
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 70 smsc CAP1014 datasheet . figure 5.1 pulse 1 behavior with non-inverted polarity figure 5.2 pulse 1 behavior with inverted polarity table 5.61 led pulse / breathe period example setting (hex) setting (decimal) total breathe / pulse period (ms) 00h 0 32 01h 1 32 02h 2 64 03h 3 96 normal ? untouched operation normal ? untouched operation touch detected (100% - pulse 1 max duty cycle) * brightness 5 pulses after touch pulse 1 period (p1_per) (100% - pulse 1 min duty cycle) * brightness led brightness normal ? untouched operation normal ? untouched operation touch detected pulse 1 min duty cycle * brightness 5 pulses after touch pulse period (p1_per) pulse 1 max duty cycle * brightness led brightness
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 71 revision 1.65 (08-11-09) datasheet 5.42 led pulse 2 period register the led pulse 2 period register determines the ov erall period of a pulse operation as determined by the led_ctl registers (see ta b l e 5 . 5 9 - setting 10b). each lsb represents 32ms so that a setting of 14h (20d) would represent a period of 640ms. the total range is from 32ms to 4.06 seconds (see table 5.61 ). the pulse 2 behavior is shown in figure 5.3 (non-inverted polarity) and figure 5.4 (inverted polarity). 04h 4 128 . . . . . . . . . 7ch 124 3,968 7dh 125 4,000 7eh 126 4,032 7fh 127 4.064 table 5.62 led behavior registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 85h r/w led pulse 2 period - p2_ per6 p2_ per5 p2_ per4 p2_ per3 p2_ per2 p2_ per1 p2_ per0 14h figure 5.3 pulse 2 behavior with non-inverted polarity table 5.61 led pulse / breathe period example (continued) setting (hex) setting (decimal) total breathe / pulse period (ms) . . . normal ? untouched operation normal ? untouched operation touch detected (100% - pulse 2 min duty cycle) * brightness (100% - pulse 2 max duty cycle) * brightness 5 additional pulses after release release detected breathe and pulse period (p2_per) led brightness
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 72 smsc CAP1014 datasheet 5.43 led breathe period register the led breathe period register determines the overall period of a breathe operation as determined by the led_ctl registers (see ta b l e 5 . 5 9 - setting 11b). each lsb represents 32ms so that a setting of 14h (20d) would represent a period of 640ms. t he total range is from 32ms to 4.06 seconds (see table 5.61 ). 5.44 led pulse configuration register the led pulse configuration register controls the nu mber of pulses that are sent for the pulse 1 and pulse 2 led output behaviors. bits 5 - 3 - pulse2_cnt[2:0] - determines the num ber of pulses used for the pulse 2 behavior as shown in ta b l e 5 . 6 5 . the default is 100b. bits 2 - 0 - pulse1_cnt[2:0] - determines the num ber of pulses used for the pulse 1 behavior as shown in ta b l e 5 . 6 5 . figure 5.4 pulse 2 behavior with inverted polarity table 5.63 led behavior registers addrr/w register b7 b6b5b4b3b2 b1 b0default 86h r/w led breathe period - br_ per6 br_ per5 br_ per4 br_ per3 br_ per2 br_ per1 br_ per0 5dh table 5.64 led configuration registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 88h r/w led pulse config - - pulse2_cnt[2:0] pulse1_cnt[2:0] 24h normal ? untouched operation normal ? untouched operation touch detected pulse 2 max duty cycle * brightness pulse 2 min duty cycle * brightness 5 additional pulses after release release detected breathe and pulse period (p2_per) led brightness . . .
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 73 revision 1.65 (08-11-09) datasheet 5.45 led pulse and breath e duty cycle registers the led pulse and breathe duty cycle register s determine the minimum and maximum duty cycle settings used for the led for each led behavior. these settings affect the brightness of the led when it is fully off and fully on. the led driver duty cycle will ramp up from the minimum duty cycle (see section 5.45 ) to the maximum duty cycle and back down again. application note: changes to the duty cycle settings will be applie d immediately. when the respective register is written, the led output will be reset to t he minimum (or maximum) setting and restarted at the updated settings. application note: upon power on reset (or upon release of the reset pin), the first breath will breathe from 100% (or 0% duty cycle as determined by t he polarity registers) to the programmed minimum (or maximum as determined by the polarity registers) and then proceed normally. bits 7 - 4 - led_x_max_duty[3:0] - determines the maximum pwm duty cycle for the led drivers as shown in table 5.67 . table 5.65 pulse_cnt decode pulsex_cnt[2:0] number of breaths 21 0 00 0 1 00 1 2 01 0 3 01 1 4 1 0 0 5 (default) 10 1 6 11 0 7 11 1 8 table 5.66 led period and duty cycle registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 90h r/w led pulse 1 duty cycle led_p1_max_duty[3:0] led_ p1_min_duty[3:0] f0h 91h r/w led pulse 2 duty cycle led_p2_max_duty[3:0] led_ p2_min_duty[3:0] f0h 92h r/w led pulse 3 duty cycle led_br_max_duty[3:0] led_ br_min_duty[3:0] f0h 93h r/w direct duty cycle led_dr_max_duty[3:0] led_dr_min_duty[3:0] f0h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 74 smsc CAP1014 datasheet bits 3 - 0 - led_x_min_duty[3:0] - determines the minimum pwm duty cycle for the led drivers as shown in table 5.67 . 5.46 led direct ramp rates register the led direct ramp rates register control t he rising and falling edge time of an led that is configured to operate in direct mode and is linked to a capacitive touch sensor. the rising edge time corresponds to the am ount of time the led takes to transiti on from its minimum duty cycle to its maximum duty cycle. conversely, the falling edge time corresponds to the amount of time that the led takes to transition from its maximu m duty cycle to its minimum duty cycle. bits 5 - 3 - rise_rate[2:0] - determines the rising edge time of an led when it transitions from its minimum drive state to its maximum drive state as shown in table 5.69 . table 5.67 led duty cycle decode led_x_max/min_duty [3:0] duty cycle 32 1 0 00 0 0 0% 00 0 1 12.5% 0 0 1 0 18.75% 01 1 1 25.0% 0 1 0 0 31.25% 01 0 1 37.5% 0 1 1 0 43.75% 01 1 1 50.0% 1 0 0 0 56.25% 10 0 1 62.5% 1 0 1 0 68.75% 10 1 1 75.0% 1 1 0 0 81.25% 11 0 1 87.5% 1 1 1 0 93.75% 1 1 1 1 100% table 5.68 led direct ramp rates register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 94h r/w led direct ramp rates - - rise_rate[2:0] fall_rate[2:0] 00h
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 75 revision 1.65 (08-11-09) datasheet bits 2 - 0 - fall_rate[2:0] - determines the falling e dge time of an led when it transitions from its maximum drive state to its minimum drive state as shown in table 5.69 . 5.47 led off delay register the led off delay register determines the amount of time an led in direct m ode remains active after it is no longer actuated (such as after a rele ase has been detected or the drive state has been changed). this register is only used if the led is linked to a capacitive touch sensor. bits 2 - 0 - dir_off_dly[2:0] - determines the tu rn-off delay for all leds that are configured to operate in direct mode as shown in table 5.71 . table 5.69 rise / fall rate cycle decode rise/fall_rate [2:0] rise / fall time (t rise / t fall ) 21 0 00 0 0 0 0 1 250ms 0 1 0 500ms 1 1 1 750ms 10 0 1s 10 1 1.25s 11 0 1.5s 11 1 2s table 5.70 led off delay register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 95h r/w led off delay register - - - - dir_off_dly [2:0] 00h table 5.71 off delay settings dir_off_dly [2:0 off delay t off_dly 210 000 0 001 0.5s 010 1.0s 011 1.5s 100 2.0s 101 3.0s
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 76 smsc CAP1014 datasheet the direct mode operation is shown determined by the combination of programmed rise time, fall time, and off delay as shown in figure 5.5 (non-inverted polarity) and figure 5.6 (inverted polarity). these otp bits are incremented any time the otp bits are changed once devices are shipped to hp. 110 4.0s 111 5.0s figure 5.5 direct mode behavi or for non-inverted polarity figure 5.6 direct mode beha vior for inverted polarity table 5.71 off delay settings (continued) dir_off_dly [2:0 off delay t off_dly 210 normal ? untouched operation rise_rate setting (t rise ) (100% - max duty cycle) * brightness touch detected release detected off delay (t off_dly ) fall_rate setting (t fall ) normal ? untouched operation (100% - min duty cycle) * brightness led brightness normal ? untouched operation rise_rate setting (t rise ) min duty cycle * brightness touch detected release detected off delay (t off_dly ) fall_rate setting (t fall ) normal ? untouched operation max duty cycle * brightness led brightness
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 77 revision 1.65 (08-11-09) datasheet 5.48 product id register the product id register stores a unique 8-bit value that identifies the device. 5.49 revision register the revision register stores an 8-bit va lue that represents the part revision. note: rev 00h was an engineering build and not released. revision 81h is the first released version of the device, functional revision a. table 5.72 product id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default fdhr product id 00101101 2dh table 5.73 revision register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default ffhr revision 10000001 81h
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 78 smsc CAP1014 datasheet chapter 6 package information 6.1 package drawings figure 6.1 package diagram - 32-pin qfn
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 79 revision 1.65 (08-11-09) datasheet figure 6.1 package dimensions - 32-pin qfn
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 80 smsc CAP1014 datasheet figure 6.2 package pcb land pattern and stencil figure 6.3 package detail a - stencil opening and perimeter lands
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 81 revision 1.65 (08-11-09) datasheet figure 6.4 package detail b - thermal vias and stencil opening figure 6.5 package land pattern dimensions
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 82 smsc CAP1014 datasheet 6.2 package marking all packages will marked as shown in figure 6.1 . figure 6.1 package markings bottom bottom marking not allowed line 1 ? smsc logo line 2 ? device number, version line 3 - revision, year, week, 4- digit engineering code (ryywwxxxx) line 4 ? lot number lines 5: best fit between pin 1 mark and pb-free symbol pb-free/green symbol (matte sn) 0.4 4x 1.3pt top a c e3 pin 1 - v r minimum circle ?r? diameter = 0.80mm line 5 ? vendor id and country code (vv ? cc) lines 1, 2, 3, & 4: center horizontal alignment p 10 ry wwxxx x 8h123456a vv - cc y 1 4
multiple channel capacitive touch sensor and led driver datasheet smsc CAP1014 83 revision 1.65 (08-11-09) datasheet chapter 7 revision history table 7.1 customer revision history revision level & date secti on/figure/entr y correction revision 1.65 (08-11-09) features low powe r operation bullet; ?1 or more buttons? changed to ?2? ordering information added CAP1014- 2 order number. added ?features? column to ordering table. table 1.1, "pin description for CAP1014" added note below table: for all 5v tolerant pins that require a pull-up resistor, the voltage difference between vdd and the pull-up voltage must never exceed 3.6v. table 2.1, "absolute maximum ratings" added voltage limits for 5v tolerant pins with pull- up resistors: voltage on 5v tolerant pins (|v 5vt_pin - v dd |) 0 to 3.6v. added note below table: for the 5v tolerant pins that have a pull-up resistor, the pull-up voltage must not exceed 3.6v when the device is unpowered. updated thetaja for the device from 40 to 48 and for the package from 52 to 60. updated via recommendations from 4 to a 4x4 array. table 2.2, "electrical specifications" added typical values for dc power - supply current. i sleep max value changed from ?250? to ?300? and i dsleep max value changed from ?100? to ?200? added pull-up voltage < 3.6v condition to leakage current. l dd typ changed from ?420? to ?0.42? section 4.1, "power states" default for sleep state modified from ?2? to ?0? section 4.4.2, "lid closure" added. section 5.7, "noise flag status registers" added application note regarding lid closure. section 5.8, "lid closure status registers" added. section 5.10, "group status register" added bit 7 for lid closure. section 5.23, "multiple touch configuration register" renamed mult_en to mult_blk_en. section 5.24, "lid closure configuration register" added. section 5.25, "lid closure queue control register" added.
multiple channel capacitive touch sensor and led driver datasheet revision 1.65 (08-11-09) 84 smsc CAP1014 datasheet section 5.26, "lid closure pattern registers" added. section 5.30, "lid closure threshold registers" added. section 5.32, "sampling configuration register" added. section 5.38, "led polarity registers" added application notes and table 5.56, "led polarity behavior" . section 5.40, "led behavior registers" added application note regarding polarity controlling non-actuated state of leds. section 5.41, "led pulse 1 period register" updated figures to show behavior with inverted and normal polarity. section 5.42, "led pulse 2 period register" updated figures to show behavior with inverted and normal polarity. section 5.47, "led off delay register" updated figures to show behavior with inverted and normal polarity. section 5.3, "build revision register" updated build register bit settings table 5.5, "build history" added table for build history section 6.1, "package drawings" replaced single composite figure with individual figures to improve readability. revision 1.64 (01-15-09) initial release table 7.1 customer revision history (continued) revision level & date secti on/figure/entr y correction


▲Up To Search▲   

 
Price & Availability of CAP1014

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X